fix
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import typescript from 'rollup-plugin-typescript2';
|
||||
|
||||
export default {
|
||||
input: 'src/frontend/widget/main.ts',
|
||||
output: {
|
||||
file: 'FrontendPlugin.js',
|
||||
format: 'system'
|
||||
},
|
||||
plugins: [
|
||||
resolve({
|
||||
// pass custom options to the resolve plugin
|
||||
customResolveOptions: {
|
||||
moduleDirectory: 'node_modules'
|
||||
}
|
||||
}),
|
||||
typescript({
|
||||
typescript: require('typescript'),
|
||||
tsconfig: "tsconfig.frontend.json"
|
||||
})
|
||||
],
|
||||
external: [
|
||||
'plugins-core',
|
||||
'@angular/core',
|
||||
'@angular/common'
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user