mermaid/webpack.config.babel.js
Matthieu MOREL 42d8bbfce2
babel-eslint => @babel/eslint-parser and remove babel-core and webpack-bundle-analyzer and yarn-upgrade-all config
remove babel-core and webpack-bundle-analyzer and yarn-upgrade-all config
2021-07-29 21:48:46 +02:00

12 lines
290 B
JavaScript

import nodeExternals from 'webpack-node-externals';
import { jsConfig } from './webpack.config.base';
const config = jsConfig();
const coreConfig = jsConfig();
coreConfig.externals = [nodeExternals()];
coreConfig.output.filename = '[name].core.js';
export default [config, coreConfig];