dilanx / craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.

Home Page:https://craco.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRACO with linaria

present-g opened this issue · comments

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') }],
};