Monthly Archive: October 2016

0

path.join in nodejs

path.join() does two things : Joins all given path seg­ments together using the plat­form spe­cific sep­a­ra­tor as a delim­iter Nor­mal­izes the result­ing path path.join(‘src/’, ‘js/Router.jsx’); ‘src/js/Router.jsx’ on OSX and Linux ‘srcjsRouter.jsx’ on Win­dows Here, it…

0

webpack-dev-server not building / compiling

The webpack-dev-server serves the result from mem­ory. It doesn’t write to file sys­tem or disk. When you start webpack-dev-server from CLI it says web­pack result is served from / indi­cates that your bun­dle is served from…