Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
🔧 Add pathinfo option to webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 18, 2017
1 parent 39d8e6f commit bce212a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const plugins = [

module.exports = {
output: {
pathinfo: true,
path: resolve(__dirname, '../dist'),
filename: `${filename}.common.js`,
},
Expand Down
1 change: 1 addition & 0 deletions build/webpack.config.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const {

module.exports = merge(base, {
output: {
pathinfo: false,
filename: `${filename}.js`,
library: moduleName,
libraryTarget: 'umd',
Expand Down

0 comments on commit bce212a

Please sign in to comment.