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
-
jiraTicket227121dI'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? -
jiraTicket227121dWebpack 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) -
@devRancid tell 2015 no worries. This project needs an update since 2013 already
-
@antigermanist @antigermanist i chose webpack because i have the most experience with it. I know vitejs as well but im not sure its the best choice for a .net based environment
-
retoor4631dWrite your own webpack with blackjack and hookers. It's just concatting some scripts. I made a 'webpack' for C. It makes one big file of all local includes (with ", not with <>). I have a massive framework with many files but it gets compiled into one file only containing my code. No system libraries.
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