Comments (10)
Reopening as we start finding some understanding. This issue might be tough to investigate though.
from webpack-virtual-modules.
There is no explanation here what exactly does webpack-virtual-plugin
do incorrect, hence this issue is invalid.
from webpack-virtual-modules.
Let me emphasize this one more time.
This plugin causes compilation invalidation right from the start in case of exporting multiple configurations from webpack config.
Most importantly, with this plugin on the list the invalid
compiler hook receives null
in case of initial invalidation.
I've stumbled upon this because that behaviour broke one of the other plugins.
Please don't be afraid to fiddle with repro. It's minimal and simple.
from webpack-virtual-modules.
This is the place for issues with the incorrect behavior of this plugin. Please use stack overflow for usage issues. Going to close this issue as won't fix.
from webpack-virtual-modules.
Not sure if you're aware but webpack supports multiple config. I've given you an example of incorrect behavior of this plugin. Tell me which part you don't understand, I'm happy to elaborate.
I'm ready to setup repro online in case cloning is too much.
from webpack-virtual-modules.
I'll understand if you're not going to support multi config setup, but let's get it straight and at least make that statement. It'll be useful for future user to know that they can expect weird behaviour in case of multi config setup.
from webpack-virtual-modules.
Not sure if you're aware but webpack supports multiple config.
I know this very well.
I've gave you an example of incorrect behavior of this plugin.
You did not. You gave the example where this plugin is used and it results in unwanted outcome. However there is no clear way to say that the bug is in this plugin, the bug might be in webpack itself, you didn't provide proofs that the bug is in this plugin. The fact that by removing the plugin the bug goes away doesn't prove that the bug is in the plugin.
Tell me which part you don't understand, I'm happy to elaborate.
It's vice versa, I understand what you wrote, the problem is that you don't understand what I wrote.
I'm ready to setup repro online in case cloning is too much.
The repro in github is fine, but I'm not ready to jump into each repro when it is not 100% clear that the there is a bug in my code.
from webpack-virtual-modules.
Man, now you're talking! I was thinking the same, the problem might be on webpack
side. I wonder, how would you approach answering if this is webpack fault or not?
from webpack-virtual-modules.
Man, now you're talking! I was thinking the same, the problem might be on webpack side. I wonder, how would you approach answering if this webpack fault or not?
console.log
, I guess, as usual into different places inside node_modules/webpack
to figure out why invalidation happens with null
.
from webpack-virtual-modules.
Related Issues (20)
- [Bug] Plugin causes console noise when used alongside debug.js HOT 2
- [Feature] Support removeModule API HOT 6
- [Bug] virtual module trigger extra compilation in webpack 5 HOT 5
- [Bug] Uppercase driver letter in windows
- Incorrectly used fileWatcher, that causing writeModule not trigger recompile with webpack-dev-server HOT 1
- [Feature] GetModule/ReadModule API HOT 2
- [Bug] Using React/JSX with `webpack-virtual-modules` gives error even when `@babel/preset-react` is used HOT 1
- [Bug] HOT 1
- [Question] - Is it possible generate new virtual modules based on file-system changes? HOT 1
- [Bug] ModuleNotFoundError happened ,when I compile two project in the same progress HOT 3
- [Bug] Local version of webpack-virtual-modules in next-with-linaria HOT 3
- [Question] Next.js compatibility
- [Feature] Custom URI scheme
- [Bug] Webpack 3 and 5 rebuild all virtual modules on any change HOT 2
- [Bug] Infinite loop on the webpack 5 example HOT 8
- [Bug] Question: Trigger webpack rebuild HOT 7
- [Feature] Expose types HOT 1
- [Bug] Stale virtual module contents upon ".writeModule" HOT 6
- [Bug] Compatibility with AngularCompilerPlugin HOT 1
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 webpack-virtual-modules.