2020-08-31 22:15:18 +00:00
|
|
|
const commonjs = require('@rollup/plugin-commonjs');
|
|
|
|
const {wrapRollupPlugin} = require('es-dev-server-rollup');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
port: 8000,
|
|
|
|
// open: './src/editor/index.html',
|
|
|
|
// watch: true,
|
|
|
|
nodeResolve: true,
|
|
|
|
moduleDirs: ['./node_modules'],
|
|
|
|
compatibility: 'none',
|
|
|
|
plugins: [
|
2020-09-20 09:06:16 +00:00
|
|
|
wrapRollupPlugin(commonjs({exclude: ['src', 'dist', 'instrumented']})) // excluding transformation on ES6 code
|
2020-08-31 22:15:18 +00:00
|
|
|
]
|
|
|
|
};
|