Goodbye JSPM.

This commit is contained in:
Jonathan Cremin 2018-06-02 19:42:45 +00:00
parent 7607759e3f
commit 64c823db55
10 changed files with 1235 additions and 593 deletions

13
webpack.config.js Normal file
View file

@ -0,0 +1,13 @@
const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin')
module.exports = {
entry: './web/public/src/app.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'web', 'public', 'build')
},
plugins: [
new CopyWebpackPlugin([{ from: './web/public/src/partials', to: 'partials' }])
]
};