5 ms·
JS gets shit on a lot, but I think npm install with a package.json is kind of one of the easier setups.
by runawaybottle 6y ago
JS gets shit on a lot, but I think npm install with a package.json is kind of one of the easier setups.
- zdragnar 6y agoEh, yes and no- that only gets you started if someone else already picked modules for you. Snowpack and such make modern ES modules with npm bearable, but the sheer volume of modules that rely on webpack's preprocessing bastardization of the module system is really depressing. I really wish they had used comment directives or something other than the import statement for things like attaching CSS files to builds.
- de_watcher 6y ago> Snowpack oh look, another one
- zdragnar 6y agoshrug it basically just copies files out of node_modules to another folder for sane browser use of module imports (no concatenation or build process). Basically, for people who liked bower but are stuck with npm. I've used it for some personal projects, but doubt that I'll use it for anything paid anytime soon.