Skip to content

Commit

Permalink
test: missing type module in ssr-vue package (#8147)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed May 13, 2022
1 parent 79a8c85 commit 4c325f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions playground/ssr-vue/example-external-component/package.json
Expand Up @@ -2,5 +2,6 @@
"name": "example-external-component",
"private": true,
"version": "0.0.0",
"type": "module",
"main": "index.js"
}
6 changes: 6 additions & 0 deletions playground/ssr-vue/vite.config.js
Expand Up @@ -45,5 +45,11 @@ module.exports = {
],
build: {
minify: false
},
ssr: {
noExternal: [
// this package has uncompiled .vue files
'example-external-component'
]
}
}

0 comments on commit 4c325f6

Please sign in to comment.