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',
|
name: 'background',
|
||||||
entry: './src/background/background.js',
|
entry: './src/background/background.js',
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
devtool: 'cheap-module-source-map',
|
|
||||||
target: 'web',
|
|
||||||
node: false,
|
node: false,
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '../../public/background'),
|
path: path.join(__dirname, '../../public/background'),
|
||||||
|
@ -34,8 +34,6 @@ const contentScriptProdConfig = {
|
|||||||
name: 'contentScriptGlobal',
|
name: 'contentScriptGlobal',
|
||||||
entry: './src/content/content_script.js',
|
entry: './src/content/content_script.js',
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
devtool: 'cheap-module-source-map',
|
|
||||||
target: 'web',
|
|
||||||
node: false,
|
node: false,
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '../../public/content'),
|
path: path.join(__dirname, '../../public/content'),
|
||||||
|
@ -39,8 +39,6 @@ const installPageProdConfig = {
|
|||||||
contentPageStyles: './src/content/styles/content_script.scss'
|
contentPageStyles: './src/content/styles/content_script.scss'
|
||||||
},
|
},
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
devtool: 'cheap-module-source-map',
|
|
||||||
target: 'web',
|
|
||||||
node: false,
|
node: false,
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '../../public/installPage'),
|
path: path.join(__dirname, '../../public/installPage'),
|
||||||
|
@ -39,8 +39,6 @@ const optionsPageProdConfig = {
|
|||||||
contentPageStyles: './src/content/styles/content_script.scss'
|
contentPageStyles: './src/content/styles/content_script.scss'
|
||||||
},
|
},
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
devtool: 'cheap-module-source-map',
|
|
||||||
target: 'web',
|
|
||||||
node: false,
|
node: false,
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '../../public/optionsPage'),
|
path: path.join(__dirname, '../../public/optionsPage'),
|
||||||
|
Loading…
Reference in New Issue
Block a user