Goodbye JSPM.
This commit is contained in:
parent
7607759e3f
commit
64c823db55
10 changed files with 1235 additions and 593 deletions
13
webpack.config.js
Normal file
13
webpack.config.js
Normal 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' }])
|
||||
]
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue