dilanx / craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
https://craco.js.org
Apache License 2.0
7.43k stars 499 forks source link

CRACO with linaria #534

Open present-g opened 8 months ago

present-g commented 8 months ago

What's happening This documentation for Linaria is outdated. The proposed plugin craco-linaria is outdated and refers to an old version of the Linaria loader

What should happen Documentation must comply with new approaches to connecting Linaria by @wyw-in-js

To reproduce

  1. Connect craco-linaria as described in the documentation
  2. Run carco start

CRACO version 7.1.0

CRACO config

// craco.config.js

// Official documentation available at: https://github.com/jednano/craco-linaria
module.exports = {
  plugins: [{ plugin: require('craco-linaria') }],
};