Description
Describe the bug
Got error after following all of the instruction to install windi from webpack v1.7.5:
[eslint] No files matching '/Users/****/Documents/Code/*****/src/virtual:windi-devtools.js' were found.
in my src/index.tsx
I already append:
import './virtual:windi.css'
import './virtual:windi-devtools'
Also when I tried to update some class using dev tools, my react app stop working with this error:
Error: ENOENT: no such file or directory, open '/Users/****/Documents/Code/****/node_modules/windicss-webpack-plugin/dist/core/dev-tools-update.js'
and from node_modules folder, I cannot find core
folder in the node_modules/windicss-webpack-plugin/dist
Is devtools feature is already supported for webpack?
I saw the PR #110 by @await-ovo already merged and released since v1.7.0
Thank you
To Reproduce
Steps to reproduce the behavior:
- Create react app v5 with typescript
- yarn eject
- follow instruction on installing windicss from documentation for webpack
- add
import './virtual:windi-devtools'
to index.tsx file
Expected behavior
I can change the class in the dev tools and reflect in the UI