fix source maps
This commit is contained in:
parent
70eb421e7a
commit
8a23a0c7b9
|
@ -103,7 +103,6 @@ const plugins = [
|
|||
{ from: './src/content/autofill.css', to: 'content' },
|
||||
]),
|
||||
new webpack.SourceMapDevToolPlugin({
|
||||
filename: '[name].js.map',
|
||||
include: ['popup/main.js', 'background.js'],
|
||||
}),
|
||||
extractCss,
|
||||
|
@ -134,6 +133,7 @@ if (ENV === 'production') {
|
|||
|
||||
const config = {
|
||||
mode: ENV,
|
||||
devtool: false,
|
||||
entry: {
|
||||
'popup/main': './src/popup/main.ts',
|
||||
'background': './src/background.ts',
|
||||
|
|
Loading…
Reference in New Issue