Skip to main content
100%

webpack configuration for webpack-es6-boilerplate

✓ Published0🌍 Public
115Dkatz
Last edited Feb 4, 2017
Created on Feb 4, 2017

This example shows a minimal webpack configuration for the webpack-es6-boilerplate, defining how JavaScript source files are bundled. It sets the entry point to `babel-polyfill` and `./app/index.js`, outputs a single `bundle.js` to a `build` directory, and uses `babel-loader` to transpile `.js` files while excluding `node_modules`. The configuration also includes a development server on port 3000 serving from `./build` with inline mode enabled. The code directly references the webpack API, including `module.exports`, the `entry`, `output`, `module.loaders`, and `devServer` properties.

AI-generated description

Similar vizzes