@tdkrage-oss/react-scripts
Configuration and scripts for Create React App with better sass support
Last updated 8 months ago by tdkrage .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @tdkrage-oss/react-scripts 
SYNC missed versions from official npm registry.

Create React App - Better SASS Support

:warning: This is a fork of [Create React App 2] (CRA2) (https://github.com/facebook/create-react-app) specifically to address the issue when opting in to using node-sass. Where the node_modules is not in the included path, causing third party component libraries such as React MDC to be tricky to implement with out ejecting your CRA project.

Installation

This fork is intended to be used in conjunction with CRA2, if you are using SASS in your project.

Step 1: install node-sass Please you have followed the steps as stated Adding a Sass Stylesheet Section.

Step 2: Remove React-Scripts

npm uninstall react-scripts

This step is important!

Step 3: Install improved react-scripts

npm install -save @tdkrage-oss/react-scripts

DONE!

Your app can now do sass imports from node_modules with out he use of a ~.

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

Current Tags

  • 2.0.5-beta1                                ...           latest (8 months ago)

2 Versions

  • 2.0.5-beta1                                ...           8 months ago
  • 2.0.5-beta                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |