Skip to content

Commit

Permalink
fix: link to correct file [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Oct 14, 2021
1 parent 03668a7 commit c44b771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const module = defineNuxtModule<PiniaNuxtOptions>({

// make sure we use the mjs for pinia so node doesn't complain about using a module js with an extension that is js
// but doesn't have the type: module in its packages.json file
nuxt.options.alias.pinia = 'pinia/pinia.mjs'
nuxt.options.alias.pinia = 'pinia/index.mjs'

addPlugin({ src: resolve(__dirname, '../templates/plugin.js') })

Expand Down

0 comments on commit c44b771

Please sign in to comment.