maxGraph/webpack.config.js

20 lines
342 B
JavaScript

module.exports = {
devtool: 'eval-source-map',
module: {
rules: [
{
test: /\.(js|ts)$/,
use: {
loader: 'babel-loader',
options: {
rootMode: 'upward'
}
},
exclude: /node_modules/
}
]
},
resolve: {
extensions: ['.ts', '.js', '.css']
}
}