GitXplorerGitXplorer
O

webpack-css-examples

public
3 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
86dc373564a1d63e47c480067d46b1220af6a8be

Updated the readme file for the basic setup

OOllieJennings committed 9 years ago
Unverified
8b052821932d8085ccd57f162e99fa8fd220f16b

updated the commands so that we have both dev and prod commands working nicely

OOllieJennings committed 9 years ago
Unverified
2866e01777d102b59f551321a7f4bba7a6ec9a7f

got ismorphic working in dev mode, package.json commands dont work, but the server does, need to look into using babel transform instead of the required maybe

OOllieJennings committed 9 years ago
Unverified
3cebdfef2bf159ffebc4f5dfdc0a031563324a5a

updated dev build to use dev-server, added prod build to use short hash names

OOllieJennings committed 9 years ago
Unverified
39a17bc2e8b1f85e6068a200b13db8f50ac3e0fe

added dev build for css-modules working on client side only, need a prod build and then the dev build needs to use webpack-dev-server so it can be tested

OOllieJennings committed 9 years ago
Unverified
3113391d3daba1f88239c50928953bbefa412c65

moved the initial stuff into a basic-setup folder, going to start adding setups for more advanced stuff

OOllieJennings committed 9 years ago

README

The README file for this repository.

Webpack CSS Examples

A set of examples demonstrating how to bundle your CSS using Webpack, from a basic setup, all the way up to an isomorphic css-modules solution, containing development and production builds.

Examples
  • Basic Setup : A basic setup where the CSS is just minified and outputted to a build folder.
  • CSS-Modules : A css-modules setup with React, this only works via client-side rendering, server side rendering will coz a flash of un-styled content
  • Isomorphic CSS-Modules : A more advanced setup allowing you to use do isomorphic rendering of React.