Skip to content

albertstill/create-react-app

 
 

Repository files navigation

albert-react-scripts

My version tracks the offical react-scripts stable version (currently v1.1.0) with a couple of differences, here is the code diff on GitHub.

  • Added CSS Modules, postcss-import and postcss-cssnext. Note I removed autoprefixer because it's included in postcss-cssnext.
  • Allow consumers to set their own Babel config, they must have a .babelrc or babel field in their package.json. I required this to use the Relay Modern plugin on a side project. Because babel-preset-react-app is really good I recommend doing yarn add babel-preset-react-app and adding the preset echo '{ "presets": ["react-app"] }' > .babelrc, that way your config can be a superset of the offical config.

create-react-app --scripts-version albert-react-scripts my-app && cd my-app && yarn add babel-preset-react-app && echo '{ "presets": ["react-app"] }' > .babelrc && yarn run start

About

Create React apps with no build configuration.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.8%
  • Other 1.2%