rootstrap / reax

0 stars 0 forks source link

Webpack can't load data file #1

Open peter7z opened 5 years ago

peter7z commented 5 years ago

Webpack can not load data.js file whne installed globally with npm.

Error:

Module parse failed: Unexpected token (7:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import data from 'data';
| 
> ReactDOM.render(<App models={data} />, document.getElementById('app'));
| 
acollazomayer commented 5 years ago

@peter7z I will take a look