From d7fdd2c13ccfc695f5095a4fe36e15a70bd6f394 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Thu, 25 Apr 2019 13:54:16 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20move=20`yootils`=20to=20=E2=80=9Cexterna?= =?UTF-8?q?l=E2=80=9D=20config=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/package.json | 3 +-- site/rollup.config.js | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/package.json b/site/package.json index 00f302b2bc..04ed82704e 100644 --- a/site/package.json +++ b/site/package.json @@ -27,8 +27,7 @@ "polka": "^1.0.0-next.2", "prismjs": "^1.15.0", "session-file-store": "^1.2.0", - "sirv": "^0.3.1", - "yootils": "0.0.14" + "sirv": "^0.3.1" }, "devDependencies": { "@babel/core": "^7.3.3", diff --git a/site/rollup.config.js b/site/rollup.config.js index 942190694e..4e5372b47d 100644 --- a/site/rollup.config.js +++ b/site/rollup.config.js @@ -75,9 +75,10 @@ export default { json() ], external: [ + 'yootils', 'codemirror', ...Object.keys(pkg.dependencies || {}).concat( - require('module').builtinModules || Object.keys(process.binding('natives')) + require('module').builtinModules || Object.keys(process.binding('natives')) ) ] @@ -98,4 +99,4 @@ export default { !dev && terser() ] } -}; \ No newline at end of file +};