Nuxt.js requires transpilation to use in v2.1.2 #125
Labels
Incompatibility
Something is incompatible / move to newer version
question
Further information is requested
wontfix
This will not be worked on
What is the problem?
After upgrading from 2.0.3 to 2.1.2, I am running into an error about the
.mjs
library source file needing a loader.What is the current behavior?
Usage:
import SelectionArea from '@simonwep/selection-js'
Please provide the steps to reproduce and create a JSFiddle.
https://codesandbox.io/s/naughty-carson-7t83s?file=/nuxt.config.js
nuxt.config.js
, as below:What is the expected behavior?
I expected this library to work out-of-the-box as it did in 2.0.3. If not, maybe the docs should mention how transpilation/Babel may be required? Or is this more of an issue from Nuxt's side?
Your environment:
The text was updated successfully, but these errors were encountered: