Add a way to specify a non-default `static.config.js` to use
See original GitHub issueHi, I would like to be able to configure react-static
a bit more, because i would like to compile two sites from the same codebase.
For this I need to be able to put two static.config.js
files with different names in the root of my project.
Putting two static.config.js
files in two different directories is not an option, as it breaks up the node_module
resolution beyond hope of repair (Believe me, I tried… and all I learnt was that react-static
does waaay too much magic with node_modules
to my taste)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
react-static/config.md at master - GitHub
Configuration ( static.config.js ). A static.config.js file is optional, but recommended at your project root to use react-static to its fullest potential.
Read more >How to generate dynamic paths for non-default locales in Next ...
I am building a Next. js app with internationalization using next-i18next. Pages are generated for all the pages of my site for both...
Read more >Configuration options in JavaScript - Plotly
Configuration Options in JavaScript · Scroll and Zoom · Editable Mode · Making a Static Chart · Customize Download Plot Options · Force...
Read more >Creating an IP static route in a non-default VRF
Enter global configuration mode. device# configure terminal · Enter the ip route command followed by the keyword vrf and the VRF name.
Read more >next.config.js: Runtime Configuration
Note: This feature is considered legacy and does not work with Automatic Static Optimization, Output File Tracing, or React Server Components. Please use...
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 Free
Top 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
Ok, this seems like a good idea, but I found a bug while doing this: https://github.com/nozzle/react-static/issues/224
This issue has been automatically marked as stale because it has not had recent activity in 7 days. It will be closed if no further activity occurs. Thank you for your contributions.