4 ms·
we looked at jspm and switched to webpack. detailed comparison here: http://blog.dripstat.com/why-we-switched-from-jspm-to-webpack/ http://blog.dripstat.com/why
by pdeva1 11y ago
we looked at jspm and switched to webpack. detailed comparison here:
http://blog.dripstat.com/why-we-switched-from-jspm-to-webpack/ http://blog.dripstat.com/why-we-switched-from-jspm-to-webpac...
- sandGorgon 11y agohey thanks for that! we are serving our JS files as static assets behind nginx - we dont run nodejs on the server. does webpack allow you to create static assets (htmls,css,js) and serve them ? the big issue is of course the fact that some libraries (Handsontable) are coming from github and are not on npm. is it possible to use them - with overrides,etc. ?
- pdeva1 11y agowell in production u can make bundle from both. the article talks about how development is super slow in jspm since files are loaded individually. yes you can add dependency to github projects with jspm
- ravicious 11y agoI left a comment under your post on reddit. For us, JSPM is fast enough and we don't have to run a second server just to serve assets. And, excuse me for saying that, but I found your post lacking in substance. Writing "It's super slow, we've tried everything" doesn't show us about what you've tried and with a detailed explanation maybe the thousands of eyeballs who saw that post would be able to help you find the problem you had. ;) https://www.reddit.com/r/javascript/comments/42ozl3/why_we_switched_from_jspm_to_webpack/czeyfs2 https://www.reddit.com/r/javascript/comments/42ozl3/why_we_s...