react-scripts-x

1.0.0 • Public • Published

For now it's just a simple way to inject postcss plugins.

In the future it might become a full-blown module to define extensions for Create React App.

{
  // ...
  "devDependencies": {
    // ...
    "postcss-calc": "7.0.1",
    "postcss-custom-properties": "8.0.9",
    "postcss-import": "12.0.1",
    "react-scripts": "3.0.0",
    "react-scripts-x": "1.0.0",
    // ...
  },
  // ...
  "react-scripts-x": {
    "postcss": [
      {
        "name": "postcss-import"
      },
      {
        "name": "postcss-custom-properties",
        "config": {
          "preserve": true
        }
      },
      {
        "name": "postcss-calc"
      }
    ]
  },
  "scripts": {
    "start": "react-scripts-x start",
    "test": "react-scripts-x test",
    "build": "react-scripts-x build"
  }
}

Changelog

1.0.0 (April 26, 2019)

Fixed for react-scripts >= 3. Continue using react-scripts-x@0.1.3 for react-scripts < 3.

Readme

Keywords

none

Package Sidebar

Install

npm i react-scripts-x

Weekly Downloads

8

Version

1.0.0

License

MIT

Unpacked Size

6.48 kB

Total Files

3

Last publish

Collaborators

  • mihhail-lapushkin