have a plugin for being able to import
JSON using ESM
#516
Labels
CLI
discussion
tied to an ongoing discussion or meeting notes
good first issue
Good for newcomers
Plugins
Greenwood Plugins
v0.13.0
website
Tasks related to the projects website / documentation
Milestone
Type of Change
Summary
As is the case with CSS, being able to use
import
with JSON is against the spec, and so this sort of behavior should be moved into a plugin, instead of being supported by default by the CLI.Details
Currently this is supported by default but shouldn't be so we should extract this code into a standalone package; plugin-import-json.
I don't know if this will have any impact on just using
fetch
for .json so should just do some basic sanity checking. This plugin will then need to be added to greenwood.config.jsThe text was updated successfully, but these errors were encountered: