mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
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' },
|
{ 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',
|
||||||
|
Loading…
Reference in New Issue
Block a user