Skip to content

Commit

Permalink
fix: force @prismicio/vue transpilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Apr 6, 2022
1 parent 86c1a26 commit ead4eb1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file removed playground/pages/preview.vue
Empty file.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default defineNuxtModule<PrismicModuleOptions>({

// Runtime dir boilerplate
const resolver = createResolver(import.meta.url)
nuxt.options.build.transpile.push(resolver.resolve('runtime'))
nuxt.options.build.transpile.push(resolver.resolve('runtime'), "@prismicio/vue")

// Add runtime user code
const addUserFileWithUndefinedFallback = (filename: string, path?: string, extensions = ['js', 'ts']) => {
Expand Down

0 comments on commit ead4eb1

Please sign in to comment.