Comments (11)
from extract-text-webpack-plugin.
Thanks, good to know but I am already using the OccurenceOrderPlugin
, it keeps my JS entries an chunks in order but not the CSS, so I can't tell if I'm missing smth.
from extract-text-webpack-plugin.
I have the same problem when requiring multiple style sheets within the same .js file. It seems as if the largest files end up as last in the extracted file.
I also use the OccurenceOrderPlugin.
from extract-text-webpack-plugin.
Threw together a repo which seems to illustrate the issue. https://github.com/natelaws/extract-text-plugin-bug
from extract-text-webpack-plugin.
awesome 👍 @natelaws I wanted to do this but I didn't find the time. I actually got to see red at the end in one build but it tends to favour the largest file like you mentioned. I wonder if it has something to do with how webpack optimises the dependency tree / orders the chunks... I've tried stepping through the code but I'm not getting really far. I'll try some more though. It's really annoying for us right now cose we migrated to using this in production and for every deploy the CSS always is built with a different hash even if nothing changed.
from extract-text-webpack-plugin.
I have opposite problem, After updating to 0.4, css is extracted in wrong order. You can check my configuration at https://github.com/steida/este
This should be extracted in order normalize, then button, then the rest of the file.
Instead button is first, the file content, and normalize is last. It looks like a bug.
@import '../../node_modules/normalize.css/normalize.css'
@import './button.styl'
// http://phonegap-tips.com/articles/essential-phonegap-css-webkit-tap-highlight-color.html
*
-webkit-tap-highlight-color rgba(0,0,0,0)
-webkit-touch-callout none
from extract-text-webpack-plugin.
@steida working on that...
from extract-text-webpack-plugin.
So, I'm still seeing an issue here. I just updated my test repo and now it seems to be including the files in alphabetical order and still not the order actually defined.
Although it definitely looks like its consistent now 👍
from extract-text-webpack-plugin.
facing the same issue: now dependencies are sorted alphabetically
using less-loader just to process @import's should not be the only fix :)
from extract-text-webpack-plugin.
Is there a fix or a workaround for this issue?
from extract-text-webpack-plugin.
It's closed and it works for me in https://github.com/este/este
from extract-text-webpack-plugin.
Related Issues (20)
- Not working with webpack 4 HOT 4
- How to get that generated css in webpack plugin even in dev mode where style-loader is being used? HOT 1
- remove neo-async HOT 1
- webpack 3.8.1 css loader not working HOT 1
- Newbie question. Sorry for my ignorance. How do I uninstall? HOT 2
- Remove "/" from href="" on generated HTML HOT 1
- Sourcemaps are not linked HOT 1
- How to use this plugin and minify SCSS to CSS? HOT 7
- CSS file not generated HOT 3
- "extract-text-webpack-plugin" loader is used without the corresponding plugin HOT 3
- lost -webkit-box-orient HOT 2
- no vendor.css
- How to extract critical and uncritical css to different separate css file? HOT 1
- Stats/debug log could be improved HOT 1
- CSS is extracted from Dynamically loaded chunks, but not injected in page by the fallback loader HOT 1
- Removes Required CSS HOT 1
- Chrome Refused to apply style HOT 1
- Not able to run karma getting errors related to ```extract-text-webpack-plugin``` HOT 1
- 4.0.0-beta for a year+ - is this a dead project? HOT 2
- I've also got this issue: Module parse failed: Unexpected character '#' (17:0); HOT 2
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 extract-text-webpack-plugin.