aboutsummaryrefslogtreecommitdiff
path: root/s/build.js
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-02-06 23:36:34 -0500
committerDeterminant <[email protected]>2019-02-06 23:36:34 -0500
commit13a2bd4f4aee6b4dec0ce799e9ba212693cbedf1 (patch)
treede455efa781bdb07101eaa3283971b057e8081a7 /s/build.js
parent96b08d7651a7ecddc15bc77ce5c453fbe4e12b12 (diff)
eject from create-react-app
Diffstat (limited to 's/build.js')
-rw-r--r--s/build.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/s/build.js b/s/build.js
deleted file mode 100644
index f1ae631..0000000
--- a/s/build.js
+++ /dev/null
@@ -1,12 +0,0 @@
-var fs = require("fs");
-var browserify = require("browserify");
-var babelify = require("babelify");
-
-browserify({ debug: true })
- .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); })
- .pipe(fs.createWriteStream("./build/background.js"));