A Babelifying Webpack module bundler for Wintersmith. Because modules!
npm i --save babel-loader babel-preset-es2015 wintersmith-webpack-babel
Add the plugin path in your config.json
:
...
"plugins": [
...
"./node_modules/wintersmith-webpack-babel"
Define webpack-babel options in your config.json
:
...
webpackBabel: {
// Optionally define a filename for your bundled code. Defaults to "bundle.js"
output: "sweetass.custom.filename.js"
}