Skip to content

Commit ed48e64

Browse files
committed
build: typo in rollup config
1 parent 07205f0 commit ed48e64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function createEntries() {
2626

2727
function createEntry(config) {
2828
const isGlobalBuild = config.format === 'iife'
29-
const isBunderBuild = config.format !== 'iife' && !config.browser
29+
const isBundlerBuild = config.format !== 'iife' && !config.browser
3030

3131
const c = {
3232
external: ['vue'],
@@ -58,10 +58,10 @@ function createEntry(config) {
5858
c.plugins.push(replace({
5959
preventAssignment: true,
6060
__VERSION__: pkg.version,
61-
__DEV__: isBunderBuild
61+
__DEV__: isBundlerBuild
6262
? `(process.env.NODE_ENV !== 'production')`
6363
: config.env !== 'production',
64-
__VUE_PROD_DEVTOOLS__: isBunderBuild ? '__VUE_PROD_DEVTOOLS__' : 'false'
64+
__VUE_PROD_DEVTOOLS__: isBundlerBuild ? '__VUE_PROD_DEVTOOLS__' : 'false'
6565
}))
6666

6767
if (config.transpile !== false) {

0 commit comments

Comments
 (0)