Skip to content

Commit 87ca814

Browse files
committed
[package.json] "type": "module"
1 parent cfc2fac commit 87ca814

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
const child_process = require("child_process");
2-
const spawn = child_process.spawn;
1+
import { spawn } from 'child_process';
32

43
// TODO: promisify cmd
54
function cmd(program, args) {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"description": "Simple website that generates animated BTTV emotes from static images",
55
"main": "index.js",
6+
"type": "module",
67
"scripts": {
78
"build": "node build.js",
89
"watch": "node build.js watch",

0 commit comments

Comments
 (0)