Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var path = require("path");
- module.exports = {
- entry: './src/js/app.js',
- output: {
- path: path.resolve(__dirname, 'dist'),
- filename: "bundle.js",
- publicPath: "/dist" //emulates the public path for webpack-dev-server
- },
- module: {
- rules: [
- {
- test: /\.css$/,
- use: [
- 'style-loader',
- 'css-loader'
- ]
- }
- ]
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement