When generating a new project using grommet new sample-app --type basic (--type app and --type docs included) the webpack config is missing a JSON loader. The issue emerges when trying to import the Card component (and probably others which I haven't tested), and webpack throws the following error:
`
Failed to compile.
Error in (undefined) ./~/remark-parse/lib/defaults.js
Module not found: ./block-elements in C:\[...]\node_modules\remark-parse\lib
@ ./~/remark-parse/lib/defaults.js 19:10-37
`
Tested on both Linux and Windows 7.
When generating a new project using
grommet new sample-app --type basic
(--type app
and--type docs
included) the webpack config is missing a JSON loader. The issue emerges when trying to import the Card component (and probably others which I haven't tested), and webpack throws the following error:` Failed to compile.
Error in (undefined) ./~/remark-parse/lib/defaults.js Module not found: ./block-elements in C:\[...]\node_modules\remark-parse\lib
@ ./~/remark-parse/lib/defaults.js 19:10-37 ` Tested on both Linux and Windows 7.