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');
const CleanWebpackPlugin = require('clean-webpack-plugin');
module.exports = {
entry: {
app: './src/index.js'
},
entry: './src/index.js',
mode: 'production',
plugins: [
new CleanWebpackPlugin(['dist'])
],
output: {
filename: '[name].bundle.js',
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