Comments (5)
Hey @emosheeep
Thanks a lot for the quick update!
I tried the new version, & it's working 👌
from vite-plugin-lib-inject-css.
Yes, I was about to do it originally as what your said. For now this plugin just adds a line and is not using AST analysis. The CSS injection supposes to be put at the end of the import statement blocks. But I have no time to work on this these days, maybe someone can pull a request? 😄 It's simple.
from vite-plugin-lib-inject-css.
Maybe I can have it done in a certain weekend in the future.
from vite-plugin-lib-inject-css.
I've published 2.1.0-beta.0
, you can have a try.
from vite-plugin-lib-inject-css.
v2.1.0 has been published.
from vite-plugin-lib-inject-css.
Related Issues (19)
- Can't use optional chaining HOT 1
- when i use input to set entries and change css name in manualChunks, inject failed HOT 8
- vite-plugin-lib-inject-css not working on SSR HOT 4
- Consider @import url() HOT 3
- "npm run build-storybook" returns error "TypeError: Cannot convert undefined or null to object" HOT 7
- Injecting problematic js imports and making circular dependency HOT 1
- [Error] Cannot build Storybook with vite-plugin-lib-inject-css: TypeError "Cannot convert undefined or null to object" HOT 3
- Code injection failed when multiple entries are importing a same style file. HOT 3
- circular dependency scanner has a circular dependency HOT 6
- issue while building HOT 4
- Is there a way to make this work with lightningcss? HOT 1
- Error: Cannot find module '@ast-grep/napi-darwin-x64' in version 2.1.0 HOT 20
- Css still all loaded HOT 1
- Any way to skip the CSS of an external dependency? HOT 3
- Replace `renderChunk` with `generateBundle` hook might be better? (vite:lib-inject-css) HOT 10
- Check for deprecated rollupOptions.preserveModules HOT 7
- Make `ds` command fail (exit code 1) if a circular dependency is detected HOT 1
- Incorrect css insertion path on Windows HOT 3
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 vite-plugin-lib-inject-css.