From c71b24987d2575c3640fcc9793e5c292cf9c9f0c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 5 Feb 2019 13:46:06 +0900 Subject: [PATCH] Make index.js for more convinience --- index.js | 1 + package.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 000000000..5b7d1347a --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +require('./built'); diff --git a/package.json b/package.json index 168dc1174..6cdc695ae 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,11 @@ "version": "10.81.0", "clientVersion": "2.0.14026", "codename": "nighthike", - "main": "./built/index.js", + "main": "./index.js", "private": true, "scripts": { - "start": "node ./built", - "debug": "DEBUG=misskey:* node ./built", + "start": "node ./index.js", + "debug": "DEBUG=misskey:* node ./index.js", "build": "webpack && gulp build", "webpack": "webpack", "watch": "webpack --watch",