add webpack dev mode

This commit is contained in:
Seth Burkart
2023-08-13 14:40:29 +10:00
parent f285beaa44
commit 80857171b6
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
"description": "![Logo](https://raw.githubusercontent.com/SethBurkart123/BetterThanBetterSeqta/c96edd5956fc11571408310aea98cf7222d6876f/src/icons/betterseqta-light-full.png#gh-dark-mode-only) ![Logo](https://raw.githubusercontent.com/SethBurkart123/BetterThanBetterSeqta/c96edd5956fc11571408310aea98cf7222d6876f/src/icons/betterseqta-dark-full.png#gh-light-mode-only)",
"main": "webpack.config.js",
"scripts": {
"build": "webpack --mode production"
"build": "webpack --mode production",
"dev": "webpack --mode production --watch"
},
"keywords": [],
"author": "",
+5
View File
@@ -2,6 +2,11 @@ const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
performance: {
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000
},
entry: {
'SEQTA': './src/SEQTA.js',
'background': './src/background.js',