A fork of react-scripts tailored for quick and easy creation of Stylable projects.
- Uses TypeScript instead of Babel, configured to work with Webpack's tree-shaking and dynamic chunks on
import()
. - Adds built-in support for Stylable.
This is the quickest way to get a Stylable project up and running. It is an opinionated boilerplate that uses TypeScript and Stylable instead of css-loader
In your terminal, run:
$ npx create-react-app@3.2.0 --scripts-version @stylable/react-scripts [APP NAME]
$ cd [APP NAME]
$ yarn
$ yarn start
Note: due to recent changes with how create-react-app handles external customization, we are forced to lock our react-scripts package to an older version of create-react-app (v3.2.0).
Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by an MIT license.