Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const path = require('path');
- const config = {
- entry:['./util.js','./index.js'],
- output: {
- path: path.resolve(__dirname, 'public'),
- filename: '[name].bundle.js',
- chunkFilename: '[name].chunk.js'
- },
- module: {
- rules: [
- { test: /.js$/, exclude:/node_modules/ }
- ]
- }
- };
- module.exports = config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement