mirror of
https://github.com/twofas/2fas-browser-extension.git
synced 2024-11-22 02:00:08 +01:00
#1515 Build optimization
This commit is contained in:
parent
37426c1dcb
commit
de019a7aae
@ -30,8 +30,6 @@ const backgroundProdConfig = {
|
||||
name: 'background',
|
||||
entry: './src/background/background.js',
|
||||
mode: 'production',
|
||||
devtool: 'cheap-module-source-map',
|
||||
target: 'web',
|
||||
node: false,
|
||||
output: {
|
||||
path: path.join(__dirname, '../../public/background'),
|
||||
|
@ -34,8 +34,6 @@ const contentScriptProdConfig = {
|
||||
name: 'contentScriptGlobal',
|
||||
entry: './src/content/content_script.js',
|
||||
mode: 'production',
|
||||
devtool: 'cheap-module-source-map',
|
||||
target: 'web',
|
||||
node: false,
|
||||
output: {
|
||||
path: path.join(__dirname, '../../public/content'),
|
||||
|
@ -39,8 +39,6 @@ const installPageProdConfig = {
|
||||
contentPageStyles: './src/content/styles/content_script.scss'
|
||||
},
|
||||
mode: 'production',
|
||||
devtool: 'cheap-module-source-map',
|
||||
target: 'web',
|
||||
node: false,
|
||||
output: {
|
||||
path: path.join(__dirname, '../../public/installPage'),
|
||||
|
@ -39,8 +39,6 @@ const optionsPageProdConfig = {
|
||||
contentPageStyles: './src/content/styles/content_script.scss'
|
||||
},
|
||||
mode: 'production',
|
||||
devtool: 'cheap-module-source-map',
|
||||
target: 'web',
|
||||
node: false,
|
||||
output: {
|
||||
path: path.join(__dirname, '../../public/optionsPage'),
|
||||
|
Loading…
Reference in New Issue
Block a user