It would be better if the build folder could be customized.
See original GitHub issueHi, Geelen, first of all thanks for your great job. I’m using react-snapshot in my project now, but I encountered a problem. Our website is an international site so I need to globalize it when generating static pages. My idea is to generate several build folders for different areas, such as build
for English speaking area, build-cn
for Chinese speaking area, etc.
When I look into the code, I found that the build folder is fixed into the code. I think we can add parameter in the cli command to determine the destination to build. The command looks like:
react-snapshot --dist build-cn
If possible I will make a PR.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Customize build folder #1354 - facebook/create-react-app
On a project I'm currently working on, we're using a file called BUILD that specifies build instructions for our microservices. and due to...
Read more >Unable to customise the build directory for Qt Creator/qmake
The build directory is "specified" by starting qmake or cmake in the build directory. There's no point to setting it in the .pro...
Read more >Deployment | Create React App
Deployment. npm run build creates a build directory with a production build of your app. Set up your favorite HTTP server so that...
Read more >Customize your build - MSBuild - Microsoft Learn
Build.rsp file in or above your source directory will be applied to ... A better alternative for customizing all projects in a solution...
Read more >Setting a custom build directory - next.config.js
You can specify a name to use for a custom build directory to use instead of .next . Open next.config.js and add the...
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
Hi, I have encountered the same problem. Unfortunately, I could not find a solution in the docs. Had to find the issue manually) Any plans about updating the docs?
Fixed and released as
1.3.0
👌