Skip to content
This repository was archived by the owner on Aug 20, 2018. It is now read-only.
This repository was archived by the owner on Aug 20, 2018. It is now read-only.

[v0.5.5] Update broke destructured import #53

@ralphchristianeclipse

Description

@ralphchristianeclipse

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions