maxGraph/webpack.config.js

21 lines
353 B
JavaScript

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