fix source maps

This commit is contained in:
Kyle Spearrin 2020-01-22 12:31:40 -05:00
parent 70eb421e7a
commit 8a23a0c7b9
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,6 @@ const plugins = [
{ from: './src/content/autofill.css', to: 'content' }, { from: './src/content/autofill.css', to: 'content' },
]), ]),
new webpack.SourceMapDevToolPlugin({ new webpack.SourceMapDevToolPlugin({
filename: '[name].js.map',
include: ['popup/main.js', 'background.js'], include: ['popup/main.js', 'background.js'],
}), }),
extractCss, extractCss,
@ -134,6 +133,7 @@ if (ENV === 'production') {
const config = { const config = {
mode: ENV, mode: ENV,
devtool: false,
entry: { entry: {
'popup/main': './src/popup/main.ts', 'popup/main': './src/popup/main.ts',
'background': './src/background.ts', 'background': './src/background.ts',