You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
350 B
19 lines
350 B
const path = require('path');
|
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
|
|
module.exports = (env, argv) => ({
|
|
devtool: 'sourcemap',
|
|
output: {
|
|
path: path.resolve(__dirname, 'dist'),
|
|
filename: 'content.js',
|
|
},
|
|
plugins: [
|
|
new CopyWebpackPlugin([
|
|
{
|
|
from: '*',
|
|
context: 'src',
|
|
ignore: '*.js'
|
|
},
|
|
])
|
|
],
|
|
});
|
|
|