Skip to content

Commit

Permalink
fix: transpile masto
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 5, 2023
1 parent 2bd8dc2 commit e31fc40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ export default defineNuxtConfig({
},
},
},
build: {
transpile: ['masto'],
},
nitro: {
esbuild: {
options: {
Expand Down

2 comments on commit e31fc40

@peterbud
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @danielroe, this leads to this error upon starting pnpm dev:

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/eventemitter3@5.0.0/node_modules/eventemitter3/index.js?v=865d9af4' does not provide an export named 'default'

image

Removing the transpile setting makes pnpm dev working again.

@danielroe
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies. I have a PR resolving this issue: #1647

Please sign in to comment.