Skip to content

Commit

Permalink
fix: opt in to import.meta.* properties (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Mar 25, 2024
1 parent f3e5e36 commit 5bf3e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export default defineNuxtPlugin(nuxtApp => {
createVuePlugin({
plugins: [
...harlemPlugins.map(p => p()),
process.client && createClientSSRPlugin(),
process.server && createServerSSRPlugin(),
import.meta.client && createClientSSRPlugin(),
import.meta.server && createServerSSRPlugin(),
].filter(Boolean),
})
)
Expand Down

0 comments on commit 5bf3e03

Please sign in to comment.