angular-docs-cn/integration/dynamic-compiler/rollup.config.js

18 lines
354 B
JavaScript
Raw Normal View History

import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
export default {
entry: 'dist/src/main.js',
sourceMap: true,
treeshake: true,
moduleName: 'main',
plugins: [
commonjs({
include: 'node_modules/**'
}),
nodeResolve({
jsnext: true, main: true, module: true
})
]
};