[v0.5.5] Update broke destructured import
ralphchristianeclipse opened this issue · comments
What is Expected
import {author} from '../package.json'
console.log(author)
Doing it like this doesn't work
The default way it import specific parts of a json file works without warnings like this and it returns undefined after
What is Happening
I can import the whole json by not destructuring it
like this
import author from '../package.json'
console.log(author)