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.
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.