Commit 8368c816 authored by Huseyin AKKAYA's avatar Huseyin AKKAYA

Update webpack-production-config.js

parent aa1b98c1
...@@ -2,15 +2,10 @@ const path = require('path'); ...@@ -2,15 +2,10 @@ const path = require('path');
const CleanWebpackPlugin = require('clean-webpack-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin');
module.exports = { module.exports = {
entry: { entry: './src/index.js',
app: './src/index.js'
},
mode: 'production', mode: 'production',
plugins: [
new CleanWebpackPlugin(['dist'])
],
output: { output: {
filename: '[name].bundle.js', filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist') path: path.resolve(__dirname, 'dist')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment