Comments (8)
that makes sense to use
deno.land/x/postcss
since alephjs works on Deno, the problem is that many plugins are not compatible with deno, for example if we import autoprefixer from 'https://esm.sh/autoprefixer' it will import the dependent post-css again.
Would an NPM package redirect option for esm.sh
work? https://esm.sh/autoprefixer?redirect-postcss=https://deno.land/x/postcss/mod.ts
from aleph.js.
good idea, i will extend the external
option to support this:
"https://esm.sh/autoprefixer?external=postcss@https://deno.land/x/[email protected]/mod.ts"
from aleph.js.
not yet, the week will update it.
from aleph.js.
Might be worth looking into possible incompatibilities with esm.sh and the PostCSS Deno plugin, but if esm.sh is working properly (and it probably is) they should be close to entirely compatible.
from aleph.js.
that makes sense to use deno.land/x/postcss
since alephjs works on Deno, the problem is that many plugins are not compatible with deno, for example if we import autoprefixer from 'https://esm.sh/autoprefixer' it will import the dependent post-css again.
from aleph.js.
and esm.sh also provides the types declaration from https://cds.esm.sh/v11/[email protected]/lib/postcss.d.ts
from aleph.js.
@ije I see that there is an external thing for other NPM packages so it works for stuff like peer dependencies or something, but is an ?external
option made that allows us to use the Deno PostCSS package?
from aleph.js.
from aleph.js.
Related Issues (20)
- Expose unocss option for other templates like react-mdx
- Improve support for extensions. HOT 3
- Error: Uncaught (in promise) TypeError: serverEntry.startsWith is not a function HOT 6
- When do you plan to release the stable version? HOT 1
- Deployed React example todo not working properly
- Extension issue in browser. HOT 2
- How to handle WebSockets? HOT 1
- SSR TypeError: Cannot read properties of null (reading 'useState') HOT 9
- Client side routing breaks middleware? HOT 5
- vue template script does not work HOT 1
- Not importing aleph/react breaks the build
- How to build with GraphQL Server? HOT 1
- How to use headlessui HOT 1
- useData hook and whatever method of hydrating data is currently not adequately implemented.
- Creating Dark Mode Option HOT 3
- Error: `TypeError: dispatcher is null`
- Cannot import from npm. HOT 1
- Using Flowbit in AlephJS
- How to set `basePath` like next.js HOT 2
- When starting, it is desired to add a hash value to each path to prevent browser caching issues. HOT 1
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 aleph.js.