Comments (2)
Yes, I agree, I wonder if at some point some rewrite might be necessary and maybe have some sort of multi-step parsing that will allow general CSS syntax parsing and then try to specifically give them meaning or generate unknown nodes (so that will OOTB support CSS extensions or new CSS rules as long as they are close to general CSS syntax)
from css-tools.
If someone would does a rewrite, we could look as how es-module-shim created a very fast lexer https://guybedford.com/es-module-shims-production-import-maps for ideas how this could be done for css.
from css-tools.
Related Issues (20)
- esm build is missing ".js" extensions HOT 2
- Can no longer import css-tools 4.1.0+ from *.mjs file HOT 14
- Problem with New Package (wrong paths in type.d.ts) HOT 8
- We need to support css nesting HOT 3
- Incorrect comment handling in some edge-case
- Requiring this package as a dependency fails HOT 5
- @page and @left-middle crashes the parser HOT 1
- Problem parsing :is() HOT 3
- ff
- TypeScript issue: `moduleResolution:NodeNext` doesnโt work with this library HOT 1
- nicer formating of grid-template-areas
- Issue when using module indirectly using Create-React-App and import HOT 2
- Can't parse @apply HOT 2
- @import does not work if url contains ';' HOT 3
- Regression in selector parsing: Attribute selectors not parsed correctly HOT 4
- Add ESM Modules to Project HOT 4
- @layer support needs to be added HOT 3
- @container support needs to be added HOT 1
- perfomance optimizations 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 css-tools.