samuelnihoul
samuelnihoul

Reputation: 269

How to target ESNext modules on Nuxt?

I am asked to target ESNext modules on my Nuxt app, how can I do that? I could not find anything on the web.

enter image description here

Related to this issue: https://github.com/solana-labs/wallet-adapter/pull/107#issuecomment-939443776

Upvotes: 2

Views: 701

Answers (2)

kissu
kissu

Reputation: 46632

Looking at the freshly released Nuxt v3 beta, we can see that ESmodules are only partially supported in Nuxt2.
You should probably wait/upgrade to Nuxt3.

enter image description here

Upvotes: 2

Joao Medeiros
Joao Medeiros

Reputation: 21

checking the documentation itself, I found no reports of support for ES Modules, however, it is known that "vitejs/vite (vue)" and VueJS 3 via Command Line support these modules, I believe the Nuxt community needs to create a project template with this setting is built into the project settings.

Upvotes: 2

Related Questions