From ee35011ba05c79d8b9753968e10fa517d93a072e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Mon, 11 Nov 2019 16:53:04 +0800 Subject: [PATCH] js-framework rollup config upgrade --- js-framework/rollup.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js-framework/rollup.config.js b/js-framework/rollup.config.js index 03957294..e793574e 100644 --- a/js-framework/rollup.config.js +++ b/js-framework/rollup.config.js @@ -11,7 +11,7 @@ export default [ file: "bundle/doric-sandbox.js", }, plugins: [ - resolve({ jsnext: true, main: true }), + resolve({ mainFields: ["jsnext"] }), ] }, { @@ -21,7 +21,7 @@ export default [ file: "bundle/doric-lib.js", }, plugins: [ - resolve({ jsnext: true, main: true }), + resolve({ mainFields: ["jsnext"] }), ], external: ['reflect-metadata'] }, @@ -32,7 +32,7 @@ export default [ file: "bundle/doric-vm.js", }, plugins: [ - resolve({ jsnext: true, main: true }), + resolve({ mainFields: ["jsnext"] }), ], external: ['ws'] },