diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build.js b/scripts/build.js index 75ff636..f1ae631 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -3,7 +3,9 @@ var browserify = require("browserify"); var babelify = require("babelify"); browserify({ debug: true }) - .transform(babelify.configure({ presets: ["@babel/preset-env"] })) + .transform(babelify.configure({ + presets: ["@babel/preset-env"], + plugins: ["@babel/plugin-proposal-class-properties"]})) .require("./src/background.js", { entry: true }) .bundle() .on("error", function (err) { console.log("Error: " + err.message); }) |