Comments (3)
Great analysis, will fix it soon. thanks!
from style-resources-loader.
Hi! I have spent some time trying to figure out this problem.
It seems webpack has updated a bunch of code in these few days.
Actually I don't have a Windows PC to reproduce. I was just wondering if you could point out how wepack
controls the cache behavior of Webpack uses windows style file path on windows
Probably related source code:
https://github.com/webpack/loader-runner/blob/master/lib/LoaderRunner.js#L284
https://github.com/webpack/webpack/blob/master/lib/NormalModule.js#L467
https://github.com/webpack/webpack/blob/master/lib/FileSystemInfo.js#L708
from style-resources-loader.
For webpack 4, it use the needRebuild method to control the cache behavior, here is code location of webpack v4.41.2.
For webpack 5, needRebuild was deprecated but use needBuild insteand,here is the code.
For the case you don't have a Windows PC to reproduce this problem, I will create a PR to fix it latterly.
from style-resources-loader.
Related Issues (20)
- How to make style-resources-loader work in Storybook? HOT 1
- Parse error? HOT 1
- mixin和variables会输出到style标签内,而且有很多重复项(一个组件产生一个style) HOT 5
- 打包后的css文件会出现重复样式,好像是加载的组件都被打包一次 HOT 6
- Very serious performance issues HOT 5
- [Compatibility Issue] SyntaxError: Invalid regular expression HOT 3
- 为什么没有tag? HOT 1
- Vue.js with mocha and styles-resources-loader can't load dependency sass
- 必须在template 里面加上style标签且内容不为空,才会加载样式 HOT 1
- Add webpack 5 support HOT 1
- "main" in package.json is wrong since 1.4.0 HOT 5
- 今早上来,此包突然不行了,看了下作者是升级了两个版本1.4.0和1.4.1 HOT 1
- It doesn't work in webpack 5 HOT 2
- Filter where not to inject HOT 1
- Question / Issue
- Compilation error from loader whenever there are @use rules in .scss files HOT 1
- 请问我加上插件后打包巨慢,应该怎么优化 HOT 1
- How do I set in CRA with craco? HOT 2
- 请问在引入了全局less之后如何开启vscode的变量提示?谢谢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from style-resources-loader.