Git Product home page Git Product logo

Comments (10)

larixer avatar larixer commented on June 15, 2024 1

Reopening as we start finding some understanding. This issue might be tough to investigate though.

from webpack-virtual-modules.

larixer avatar larixer commented on June 15, 2024

There is no explanation here what exactly does webpack-virtual-plugin do incorrect, hence this issue is invalid.

from webpack-virtual-modules.

plesiecki avatar plesiecki commented on June 15, 2024

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.

larixer avatar larixer commented on June 15, 2024

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.

plesiecki avatar plesiecki commented on June 15, 2024

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.

plesiecki avatar plesiecki commented on June 15, 2024

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.

larixer avatar larixer commented on June 15, 2024

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.

plesiecki avatar plesiecki commented on June 15, 2024

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.

larixer avatar larixer commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.