You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 20, 2018. It is now read-only.
@sasidhar Angular Starter uses webpack >= v2.0.0, which has native JSON support. This is a bug in Angular Starter aswell, so please open an issue there to remove json-loader from the seed :) The line causing this is here and needs to be reverted to
varmodule=`module.exports = ${value}`
Ideally with a ⚠️ warning in case this.version >= 2, I will send PR asap :)
michael-ciniawsky
changed the title
json-loader version 0.5.5 : JSON Object - default key
[v0.5.5] : JSON Object gets exported with default key (harmony export)
Jul 22, 2017
Example :
sample.json
Usage
With json-loader 0.5.4
With json-loader 0.5.5 : It is adding a wrapper object with key : 'default'.
With this existing code is breaking.
FYI : Using https://github.com/AngularClass/angular-starter
The text was updated successfully, but these errors were encountered: