mirror of
https://github.com/noncomputable/AgentMaps.git
synced 2026-01-18 16:27:05 +00:00
24 lines
389 B
JavaScript
24 lines
389 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
devtool: "eval",
|
|
output: {
|
|
path: path.resolve(__dirname, "site/dist"),
|
|
filename: "agentmaps.js"
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /(node_modules|bower_components)/,
|
|
use: {
|
|
loader: 'babel-loader',
|
|
options: {
|
|
presets: ['@babel/preset-env']
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|