Skip to content

Commit

Permalink
update webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
itta611 committed Nov 14, 2021
1 parent 27e32d1 commit f7b758e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ const {WebpackManifestPlugin} = require('webpack-manifest-plugin');
module.exports = {
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
entry: {
app: path.join(__dirname, 'src/main.js'),
parallax: path.join(__dirname, 'src/parallax.js'),
app: path.join(__dirname, 'src/main.js'),
},
output: {
path: path.join(__dirname, 'dist'),
filename: 'js/[name].bundle.js',
filename: 'js/[name]-[hash].bundle.js',
},
resolve: {
alias: {
Expand Down

0 comments on commit f7b758e

Please sign in to comment.