We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc2fac commit 87ca814Copy full SHA for 87ca814
build.js
@@ -1,5 +1,4 @@
1
-const child_process = require("child_process");
2
-const spawn = child_process.spawn;
+import { spawn } from 'child_process';
3
4
// TODO: promisify cmd
5
function cmd(program, args) {
package.json
@@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "Simple website that generates animated BTTV emotes from static images",
"main": "index.js",
6
+ "type": "module",
7
"scripts": {
8
"build": "node build.js",
9
"watch": "node build.js watch",
0 commit comments