add support for dynamic imports #275
Labels
chore
unit testing, maintenance, etc
enhancement
Improve something existing (e.g. no docs, new APIs, etc)
v0.5.0
Data w/ GraphQL
website
Tasks related to the projects website / documentation
Type of Change
Summary
Currently the shelf uses
require
to load JSON files.Details
This is only permitted because webpack allows it, but browser code should only be using browser APIs, like
import
/export
.The project should be made to support
import()
syntax and remove any usage of NodeJS specific code, likerequire
in the shelf.The text was updated successfully, but these errors were encountered: