Skip to content

Commit

Permalink
fix: update webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
shafin-deriv committed Jul 10, 2024
1 parent db0745f commit 22d6619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"scripts": {
"start": "webpack serve --open --config webpack.config.js",
"build": "webpack --config webpack.config.js",
"test:lint": "prettier --log-level silent --write . && eslint --quiet \"./src/**/*.?(js|jsx|ts|tsx)\"",
"test:fix": "prettier --log-level silent --write . && eslint --fix --quiet \"./src/**/*.?(js|jsx|ts|tsx)\"",
"test:lint": "prettier --log-level silent --write . && eslint \"./src/**/*.?(js|jsx|ts|tsx)\"",
"test:fix": "prettier --log-level silent --write . && eslint --fix \"./src/**/*.?(js|jsx|ts|tsx)\"",
"test": "jest",
"coverage": "jest --coverage",
"prepare": "husky install"
Expand Down
4 changes: 0 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ module.exports = {
path: path.resolve(__dirname, 'dist'),
publicPath: 'auto',
},
env: {
browser: true,
node: true,
},
mode: IS_RELEASE ? 'production' : 'development',
devtool: IS_RELEASE ? 'source-map' : 'eval-cheap-module-source-map',
target: 'web',
Expand Down

0 comments on commit 22d6619

Please sign in to comment.