Skip to content

Commit

Permalink
chore: fix typo in rollup.config.js (vuejs#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yida authored and yyx990803 committed Oct 6, 2019
1 parent d2d32d3 commit 5bc18f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const configs = {
}

const defaultFormats = ['esm', 'cjs']
const inlineFromats = process.env.FORMATS && process.env.FORMATS.split(',')
const packageFormats = inlineFromats || packageOptions.formats || defaultFormats
const inlineFormats = process.env.FORMATS && process.env.FORMATS.split(',')
const packageFormats = inlineFormats || packageOptions.formats || defaultFormats
const packageConfigs = process.env.PROD_ONLY
? []
: packageFormats.map(format => createConfig(configs[format]))
Expand Down

0 comments on commit 5bc18f4

Please sign in to comment.