web2019/webpack.config.js
Egor Savkin 0dbd80142d Remove weird animations from backlog
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-21 17:56:27 +08:00

25 lines
517 B
JavaScript

const path = require('path');
module.exports = {
entry: {
shop: './static/js/shop.jsx'
},
output: {
path: path.resolve(__dirname, './static/js'),
filename: '[name].bundle.js'
},
module: {
rules: [
{
test: /\.(js|jsx)$/,
exclude: /node_modules/,
use: 'babel-loader'
}
]
},
//devtool: "inline-source-map",
//mode: "development"
devtool: false,
mode: "production"
};