question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a way to specify a non-default `static.config.js` to use

See original GitHub issue

Hi, 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:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
crubiercommented, Dec 7, 2017

Ok, this seems like a good idea, but I found a bug while doing this: https://github.com/nozzle/react-static/issues/224

0reactions
stale[bot]commented, Feb 5, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found