A
A
Arioch2019-08-20 10:12:20
Vue.js
Arioch, 2019-08-20 10:12:20

How to make Nuxt - Babel transpile all node_modules, or at least selectively?

I use Quasar as a plugin in Nuxt, and apparently Babel does not transpile it into compatible code.
But maybe the problem is in some other module, not only in Quasar.
How do I tell Babel that I need to transpile everything from 'nuxt generate' (I'm making a static project)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arioch, 2019-08-20
@arioch77

answer from Kirill Romanov

build: {
    transpile: [
      'quasar',
    ],
}

checked - everything plows !!))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question