Skip to content

Commit ae3fc94

Browse files
martynlingsdras
authored andcommitted
Fix npm sfc package reference from build/wrapper.js to src/wrapper.js (#1688)
1 parent a71f12b commit ae3fc94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/cookbook/packaging-sfc-for-npm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ With the package.json `scripts` section ready and the SFC wrapper in place, all
172172
import vue from 'rollup-plugin-vue'; // Handle .vue SFC files
173173
import buble from 'rollup-plugin-buble'; // Transpile/polyfill with reasonable browser support
174174
export default {
175-
input: 'build/wrapper.js', // Path relative to package.json
175+
input: 'src/wrapper.js', // Path relative to package.json
176176
output: {
177177
name: 'MyComponent',
178178
exports: 'named',

0 commit comments

Comments
 (0)