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
404 B
JavaScript

const path = require('path');
module.exports = {
entry: './src/app.js',
mode: "development",
output: {
filename: 'ticeditor.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' },
]
}
};