From a1ca0fabd3220a66f0bace3af84206d921c6307e 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:56:39 +0800 Subject: [PATCH] demo rollup config upgrade --- demo/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/rollup.config.js b/demo/rollup.config.js index e267034d..d7acfe96 100644 --- a/demo/rollup.config.js +++ b/demo/rollup.config.js @@ -11,7 +11,7 @@ export default bundles.map(bundle => { sourcemap: true, }, plugins: [ - resolve({ jsnext: true, main: true }), + resolve({ mainFields: ["jsnext"] }), commonjs() ], external: ['reflect-metadata', 'doric'],