Comments (14)
I'm not sure I can validate the rest given that error. All I'm able to do is update the version of csstools
and then run our script that imports it. If it can't import then the script can't continue. Let me know when you have beta.2
and I can test again.
from css-tools.
think it's cause of missing .js extensions as i I mentioned in #106
from css-tools.
I added add_esm_import_extensions.mjs to the build, but it seems for the last build they did not run it.
from css-tools.
@holblin maybe you should add a npm upload action to github? so you don't manually publish packages
from css-tools.
@jogibear9988 it's already running as a GitHub action. As you can see here: https://github.com/adobe/css-tools/actions/runs/4238076267/jobs/7364748837#step:6:68
Though, there was an error on the last execution.
I will check @mike-potter to fix the import for all the use cases (web and node projects).
from css-tools.
Hi @mike-potter π
Could you build it locally #108 and test it?
This should solve this issue but I would like to confirm with you before merging the PR and releasing a new version.
Thanks π
from css-tools.
I don't really have a way to build it locally here, but if there is something I can put in my package.json
to pin to a specific version or something I can do that.
from css-tools.
Could you try version 4.3.0-beta.1
?
from css-tools.
Using 4.3.0-beta.1
I get:
import cssTools from '@adobe/css-tools';
^^^^^^^^
SyntaxError: The requested module '@adobe/css-tools' does not provide an export named 'default'
from css-tools.
Hi @mike-potter could you try:
import * as cssTools from '@adobe/css-tools';
I will add a default export into a beta.2
or rc.1
but that would be great if we could validate the rest π
from css-tools.
Could you test with 4.3.0-beta.2
?
from css-tools.
Yes, beta.2 works! Thanks.
from css-tools.
How is the 4.3.0-rc.1
@mike-potter ? Does that also work?
If so I'll release the 4.3.0
.
from css-tools.
Closed due to no-response + beta.2 was working so I expect the 4.3.0 to work too.
from css-tools.
Related Issues (20)
- esm build is missing ".js" extensions HOT 2
- 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
- we should support stylesheets with errors HOT 2
- @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
- Using @starting-style CSS at-rule crashes the parser with "property missing ':'" error HOT 1
- @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.