demo rollup config upgrade

This commit is contained in:
王劲鹏 2019-11-11 16:56:39 +08:00
parent ee35011ba0
commit a1ca0fabd3

View File

@ -11,7 +11,7 @@ export default bundles.map(bundle => {
sourcemap: true, sourcemap: true,
}, },
plugins: [ plugins: [
resolve({ jsnext: true, main: true }), resolve({ mainFields: ["jsnext"] }),
commonjs() commonjs()
], ],
external: ['reflect-metadata', 'doric'], external: ['reflect-metadata', 'doric'],