Using webpack to bundle assets in a single file



  • Weback has become a standard to bundle the static JS and CSS files. It also does minification and uglifaction of the JS files. Also supports Hot Module Replacement. And probably much more...

    Is it possible to implement the webpack feature in NodeBB, probably in 1.7.2 version?


  • Admin

    Possibly, but unlikely, since we have a highly modified system that works with uglifyJS to minify files.

    So... we already do support everything webpack can do, with exception to hot module replacement, I suppose 😃


  • Global Moderator

    Definitely not in 1.7.2 since that's being released this week. Using Webpack at this point would require, essentially, a complete rewrite.

    That's a lot of work.


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.