Skip to content

Commit c99f1c1

Browse files
vuejs-jp-botpotato4d
authored andcommitted
Fix Rollup instructions (vuejs#1920) (vuejs#1420)
This commit fixes broken instructions on how to bundle the Runtime + Compiler with Rollup. Related: rollup/rollup#2609
1 parent 891855b commit c99f1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ rollup({
136136
// ...
137137
plugins: [
138138
alias({
139-
'vue': 'vue/dist/vue.esm.js'
139+
'vue': require.resolve('vue/dist/vue.esm.js')
140140
})
141141
]
142142
})

0 commit comments

Comments
 (0)