Skip to content

Commit

Permalink
chore: set version to 1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien authored Sep 3, 2022
2 parents 6d3680b + 0f1fe86 commit ec237b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-runtime-compiler",
"version": "1.0.9",
"version": "1.0.10",
"description": "A simple module enabling the vue template compiler on Nuxt 2 and 3",
"license": "MIT",
"type": "module",
Expand Down
3 changes: 2 additions & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ export default defineNuxtModule({
}

nuxt.options.experimental.externalVue = false

// set vue esm on client
nuxt.hook('vite:extendConfig', (config, { isClient }) => {
if (isClient) {
// @ts-ignore -- expect an object
config.resolve.alias.vue = 'vue/dist/vue.esm-bundler'
}
})
Expand Down

0 comments on commit ec237b7

Please sign in to comment.