Coder Social home page Coder Social logo

Comments (6)

pakholeung37 avatar pakholeung37 commented on June 2, 2024

Does this pr still work with vite ^2?

from vite-plugin-import-maps.

dylanzbot avatar dylanzbot commented on June 2, 2024

Does this pr still work with vite ^2?

No, it dosen't. Because I think Vite 2 users can continue to use v0.1.2, and release a new version for Vite 3 users, there should be no problem. Based on this idea, I did not dynamically determine the currently installed Vite version. If you have a better way, I will learn it later. Thanks!

from vite-plugin-import-maps.

dylanzbot avatar dylanzbot commented on June 2, 2024

I got confirmation in the vite discussion, vite did adjust the injection rules, this adjustment is not a bug, but the injection of import maps is currently problematic, the vite maintainer said it will be fixed in [email protected].

from vite-plugin-import-maps.

pakholeung37 avatar pakholeung37 commented on June 2, 2024

Good to hear that. I am going to close this issue. Maybe you can link the discussion link here, so we both can check later.

from vite-plugin-import-maps.

dylanzbot avatar dylanzbot commented on June 2, 2024

The injection sequence is wrong in versions before [email protected], does this plugin still need to be fixed? Here is discussion link: vitejs/vite#9777

from vite-plugin-import-maps.

pakholeung37 avatar pakholeung37 commented on June 2, 2024

If it considers a vite bug, I won't fix :)

from vite-plugin-import-maps.

Related Issues (4)

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.