Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I'm curious what you mean regarding implementing NPM.
Was this your first time using NPM? Did you use to have a ton of 3rd party scripts imported before - but now you tried importing them as packages for the first time? -
Webpack can be notoriously complex though.
(It really depends - in some new projects I've managed to copy-paste another project's webpack config and just get stuff working asap, in other projects I've got stuck with Webpack issues for a long time)
I thought to implement nmp and webpack for this project. I didnt take in account the difficulty level. Bundling the scss is fine, but the scripts are hell. There are so many. And there not small either, no there are script with 60+ functions and they all need to be available globally.
How this is working in the first place is already a mystery. This has been taking multiple days now and i’m so very fucking tired with it.
rant