WIP
This commit is contained in:
parent
96eccd2ecd
commit
7d9208e951
143 changed files with 1000 additions and 1008 deletions
|
@ -1,5 +1,6 @@
|
|||
const path = require('path');
|
||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
const CopyPlugin = require('copy-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
context: path.resolve(__dirname, 'src'),
|
||||
|
@ -10,7 +11,19 @@ module.exports = {
|
|||
]
|
||||
},
|
||||
plugins: [
|
||||
(new CleanWebpackPlugin())
|
||||
new CleanWebpackPlugin(),
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: 'config*.json',
|
||||
to: '/'
|
||||
},
|
||||
{
|
||||
from: 'themes/',
|
||||
to: 'themes/'
|
||||
}
|
||||
]
|
||||
})
|
||||
],
|
||||
output: {
|
||||
filename: '[name].bundle.js',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue