diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..079e43b --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,13 @@ +module.exports = { + entry: './src/main', + module: { + loaders: [ + // Transpile any JavaScript file: + { test: /\.js$/, loader: 'webpack-traceur?runtime&sourceMaps&experimental' } + ] + }, + resolve: { + // you can now require('file') instead of require('file.js') + extensions: ['', '.js', '.json'] + } +};