Skip to content

Instantly share code, notes, and snippets.

@HenriqueLimas
Last active May 1, 2017 00:05
Show Gist options
  • Select an option

  • Save HenriqueLimas/7ac5d9b63e1222c7e0f0b939b1844ef2 to your computer and use it in GitHub Desktop.

Select an option

Save HenriqueLimas/7ac5d9b63e1222c7e0f0b939b1844ef2 to your computer and use it in GitHub Desktop.

Universal Rendering

JS apps are not great for slow connections. It sends complete markups.

Don't use babel node in production

Now we need to pay attention to not call Dom and consider it.

Code splitting

publicPath is just to webpack knows where to search other bundles.

Async routing

Webpack make static analisyes and it doesnt execute the code on System.import

Building for production

For production we use some flags.. -p its a build for production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment