Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

i-like-robots/broken-css-extract-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Broken mini-css-extract-plugin test case

This repo contains a small test case which demonstrates an issue introduced with mini-css-extract-plugin v0.8.1 whereby the context property for instances of CssModule is set to null resulting in errors like:

TypeError: Cannot read property 'includes' of null

Installation

After cloning this repository:

  1. Run npm install to install of the required dependencies
  2. Build the test file with npm run build or npx webpack
  3. This should fail
  4. Install the previous version of the mini-css-extract-plugin:
    npm i mini-css-extract-plugin@0.8.0
  5. Run the build again

About

πŸ™…β€β™€οΈ a test case demonstrating a problem with the mini-css-extract-plugin@0.8.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published