svgedit/es-dev-server.config.js

15 lines
444 B
JavaScript
Raw Normal View History

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-09 22:49:47 +00:00
wrapRollupPlugin(commonjs({exclude: ['src/editor/system', 'dist/editor/system/**']})) // excluding transformation of the systemJS bundle
]
};