You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
403 B
JavaScript

const path = require('path');
module.exports = {
entry: './src/ticlab.js',
mode: "production",
output: {
filename: 'ticlab.js',
path: path.resolve(__dirname, 'build'),
},
module: {
rules: [
{ test: /\.js$/, use: ["source-map-loader"], enforce: "pre" },
{ test: /\.css$/, use: ['style-loader', 'css-loader'] },
{ test: /\.png$/, use: 'file-loader' },
]
}
};