@sonicgarden/next-csr-rewrites-generator
v1.3.1
Published
Deploy helper command to generate rewrite rules for Next.js CSR application
Downloads
910
Keywords
Readme
next-csr-rewrites-generator
Deploy helper command to generate rewrite rules for Next.js CSR application
Installation
Usage
Add this command to your deployment script (The following is for deploying to firebase hosting)
package.json:
Note: of course, you can alos run this command manually!
Command usage
Generated hosting rewrite rules
When the following files exist in the deploy directory
The following rewrite rules will be added to firebase.json (cleanUrls will be added together)
Note: rewrite rules other than dynamic routing will not be updated.