aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-02-03 01:14:45 -0500
committerDeterminant <[email protected]>2019-02-03 01:14:45 -0500
commit5552d53304a26f53172e1cc0d0f86e01131eaadd (patch)
tree7276c23d174ac84c73de595b16ce841ae7b36f22 /scripts
parent580990a5eb4a79892c48e3a3fce3386fe80e6cc2 (diff)
use Msg objects
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build.js4
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); })