/wintersmith-webpack-babel

A Babelifying Webpack module bundler for Wintersmith. Because modules!

Primary LanguageJavaScriptMIT LicenseMIT

Wintersmith Webpack Babel

A Babelifying Webpack module bundler for Wintersmith. Because modules!

Install

npm i --save babel-loader babel-preset-es2015 wintersmith-webpack-babel

Use

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"
}