From 5552d53304a26f53172e1cc0d0f86e01131eaadd Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 3 Feb 2019 01:14:45 -0500 Subject: use Msg objects --- scripts/build.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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); }) -- cgit v1.2.3-70-g09d2