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
On Webpack I receive the following alert during build.
WARNING in ./~/angular-perfect-scrollbar-2/dist/index.js
Critical dependencies:
1:497-504 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./~/angular-perfect-scrollbar-2/dist/index.js 1:497-504
Its better to serve uncompressed assets, because if a project has similar dependancies as Angular Perfect Scrollbar 2, then those assets are only included once.
The text was updated successfully, but these errors were encountered:
krismeister
changed the title
Point to uncompressed JS for Import
Point to JS source for Import
Jun 13, 2017
I did not tried, but with webpack you may try to require/import angular-perfect-scrollbar/index instead. You will need css-loader or something like that installed and configured.
On Webpack I receive the following alert during build.
Its better to serve uncompressed assets, because if a project has similar dependancies as Angular Perfect Scrollbar 2, then those assets are only included once.
The text was updated successfully, but these errors were encountered: