Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

MateuszGroth/react-node-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React with node+express+ejs using webpack

Pros

  • can split js into chunks and make use of lazy load
  • builds pretty fast
  • gives a lot of options

Cons

  • dev server reloads page after changes in styles
  • not that easy to configure
  • configuration is not flexible
  • user have to manually reload browser after building

Setup

start node server on first cmd

    node index.js

start gulp on second cmd

    npm run build:watch

Additional info

You might wanna work in 'development' mode, but this config is not prepared for that, since it wouldn't work with node To do that, you would have to create another index.html and add development options to webpack config

About

React with node+express+ejs webpack setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published