Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
517 B

const path = require('path');
module.exports = {
entry: './index.js',
mode: 'production',
module: {
rules: [
{
exclude: /node_modules/,
test: /\.m?js$/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env'],
},
},
},
],
},
optimization: {
minimize: true,
},
output: {
path: path.resolve(__dirname, 'out'),
filename: 'index.js',
},
stats: 'detailed',
target: 'node10',
};