Category: Tools


Webpack CommonsChunkPlugin, HtmlWebpackPlugin Setup

In this example, we will show you the capabilities of webpack’s commonsChunkPlugin. It is such an important feature of webpack that I ended up recording a video. Code splitting with webpack’s CommonsChunkPlugin, html-webpack-plugin! Single...


[Resolved] unsupported major.minor version 52.0

This is a generic issue. I solved it using the following steps. Uninstall Java completely sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from...


path.join in nodejs

path.join() does two things : Joins all given path segments together using the platform specific separator as a delimiter Normalizes the resulting path path.join(‘src/’, ‘js/Router.jsx’); ‘src/js/Router.jsx’ on OSX and Linux ‘srcjsRouter.jsx’ on Windows Here,...