fossasia-22-renode/webpack.config.js

24 lines
428 B
JavaScript
Raw Normal View History

2020-03-31 11:23:51 +00:00
const path = require('path');
module.exports = {
mode: 'production',
entry: ['./js/index.js'],
2020-03-31 11:23:51 +00:00
output: {
path: path.join(__dirname, '/dist'),
filename: 'reveal.min.js',
},
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules)/,
loader: 'babel-loader',
query: {
presets: [
[ '@babel/preset-env' ]
]
2020-04-06 08:39:48 +00:00
}
}
]
}
2020-03-31 11:23:51 +00:00
};