Skip to content

Commit

Permalink
build(bin): fix output filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Jul 16, 2019
1 parent 5ce9f40 commit cf27d8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const fatalError = err => {
const webpackConfigList = []

;[
'.all',
'.browser',
'.bundle',
'.polyfill',
''
].forEach(outputType => {
let config = {
Expand All @@ -41,10 +41,10 @@ const webpackConfigList = []

// setup Webpack plugins by output type
switch (outputType) {
case '.all':
case '.bundle':
// dependencies and polyfills
break
case '.browser':
case '.polyfill':
// lib and polyfills
config.plugins = webpackPlugins.concat([
new webpack.IgnorePlugin(/(@ecomplus\/utils|axios)/)
Expand Down

0 comments on commit cf27d8f

Please sign in to comment.