Comments (6)
I agree about this particular shorthand pattern ie. ~
for project root. The underlying parcel also supports it. I would count this as a bug in zero, I will look into this soon.
About parsing tsconfig.json
.paths
and ignoring those paths, I think it would be a good enhancement. If we just address the common patterns (like the ~
usage) this might be just unnecessary effort.
from zero.
It's true that ~
usage will hit the 99th percentile of usefulness. If that's a lot easier, then I'd say it's fine. Was thinking that just checking against the globs would work, but I could be wrong.
from zero.
It looks like there is an underlying parcel bug too. I guess I will have to patch that and see if that works. I will try to get this fix up this weekend.
from zero.
@TimMensch can you try the installing the latest version. #122 fixes the root imports using ‘~’
from zero.
Thanks for the fast fix! Seems to work great. Closing.
I was testing zero
for my site, and it's wonderful for what it does, but I ended up running into a different limitation (or at least a problem I couldn't solve) that made me try Next.js instead -- and now I have a working Next.js environment. I can't remember what the limitation was, though it may have been that I couldn't figure out how to get it to spit out valid AMP HTML? Next.js has native AMP support. There are specific things that AMP sites need, like a <style amp-custom>
block, that React and similar don't support well, and I wanted to also use MDX in the same site for content.
The current project is more important to finish than to use the perfect platform. I'll absolutely consider zero
for my next project, though.
Thanks again!
from zero.
I understand. AMP can be looked into in the future and should be easy to add.
Thanks!
from zero.
Related Issues (20)
- Socket.io support? HOT 1
- Prerendering for static hosting
- Node.js: wrong dependencies result
- Node.js: Add debug support
- Node.js: show input as well as line:column when failed to compile
- Node.js, TS: zero tries to compile non-jsx TS as jsx HOT 2
- Svelte : stores support HOT 1
- Flask's abort(404) does not work with Zero HOT 1
- Vue 3 support? HOT 1
- import file in python
- Error With React DOM HOT 1
- Development or Production
- Is anyone using Zero to serve Deno TypeScript?
- Does this support the react-router? HOT 1
- Checking Version and Help CLI Flags
- Python flask render_template
- Google Cloud Run HTTPS errors
- Following React instructions doesn't work HOT 1
- Feature Request: Organized way of managing projects
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 zero.