Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Merge 1ddced1 into af70d81
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Gawlowski committed Sep 4, 2018
2 parents af70d81 + 1ddced1 commit 0ff77d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions getConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const optimization = op => op || optimizations();

const defaultPath = path.resolve(process.cwd(), 'dist');
const output = (out = {}) => ({
...out,
path: out.path || defaultPath,
filename: out.filename ||
process.env.NODE_ENV === 'production' ? '[name].[contenthash].js' : '[name].js',
Expand Down

0 comments on commit 0ff77d9

Please sign in to comment.