js-framework rollup config upgrade
This commit is contained in:
parent
651f28a226
commit
ee35011ba0
@ -11,7 +11,7 @@ export default [
|
|||||||
file: "bundle/doric-sandbox.js",
|
file: "bundle/doric-sandbox.js",
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
resolve({ jsnext: true, main: true }),
|
resolve({ mainFields: ["jsnext"] }),
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -21,7 +21,7 @@ export default [
|
|||||||
file: "bundle/doric-lib.js",
|
file: "bundle/doric-lib.js",
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
resolve({ jsnext: true, main: true }),
|
resolve({ mainFields: ["jsnext"] }),
|
||||||
],
|
],
|
||||||
external: ['reflect-metadata']
|
external: ['reflect-metadata']
|
||||||
},
|
},
|
||||||
@ -32,7 +32,7 @@ export default [
|
|||||||
file: "bundle/doric-vm.js",
|
file: "bundle/doric-vm.js",
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
resolve({ jsnext: true, main: true }),
|
resolve({ mainFields: ["jsnext"] }),
|
||||||
],
|
],
|
||||||
external: ['ws']
|
external: ['ws']
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user