Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Commit

Permalink
add node on MODE
Browse files Browse the repository at this point in the history
  • Loading branch information
GaurangTandon committed Jun 29, 2019
1 parent c5fa0b6 commit 243e3dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ module.exports = {
// development mode ensures terser (es6 minifier) is not run
// see https://webpack.js.org/configuration/mode
module: moduleObject,
// this must always be development, since source files
// should not be minified, according Webstore policy
// this mode can be production, as chrome allows minification (but not obfuscation)
// but letting it be "development" means I can easily debug the issue
// in case of a console error on user's machine :)
mode: "development",
entry: {
background: `${__dirname}/js/background.js`,
Expand Down

0 comments on commit 243e3dd

Please sign in to comment.