rmariuzzo / laravel-localization-loader

Laravel Localization loader for webpack. Convert Laravel Translation strings to JavaScript Objects.
MIT License
70 stars 7 forks source link

json-loader deprecated #9

Open okaufmann opened 5 years ago

okaufmann commented 5 years ago

Hi

https://github.com/webpack-contrib/json-loader seems to be deprecated and as noticed in the reamde, webpack 2+ does support json imports by default.

Think this loader can't be removed?

rmariuzzo commented 5 years ago

Good catch, I will need to revisit this.

okaufmann commented 5 years ago

already have fixed it, PR incoming;)

okaufmann commented 5 years ago

https://github.com/rmariuzzo/laravel-localization-loader/pull/10 what do you think?