Generate parsed content during module boot in production
See original GitHub issueInstead of adding the /api/_content/cache
route in pre-render.
This way, Tailwind JIT (and others) will work.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How to Build a Custom Parser - Packet Coders
A guide into the world of parsing. Learn how to build your own custom parser from scratch.
Read more >Core Features - Spring
This section dives into the details of Spring Boot. Here you can learn about the key features that you may want to use...
Read more >The ANTLR Mega Tutorial - Federico Tomassetti
You create the AST by manipulating the parse tree, in order to get ... thumb is that when in doubt you let the...
Read more >Webpack module federation is not working with eager shared ...
Just to make it clear for those who might miss the comment to the initial answer: It seems like the main reason of...
Read more >Host and deploy ASP.NET Core Blazor WebAssembly
NET Core, Content Delivery Networks (CDN), file servers, ... SHA-256 hashes of boot resources at the time that the build output is produced....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can we at least, load all the raw files from the sources and store them? This way we can link to this directory for both dev and production, this is fine and faster as boot time and solve the CSS parsing issue for production for TailwindCSS
As I checked tailwind build happens before nitro create/init, therefore we can’t use
nitro.storage
to fetch remote contents.The solution is to create a storage instance in
before:build
hook, mount drivers, and fetch all contents and store them in cache dir.