Feature: Custom Path for server
See original GitHub issueIt would be nice to add a custom path for local server. Right now when you spin up the local server it builds out a dist directory to serve from. This creates a permissions conflict when using https with port 443 and when your builds export to dist as well.
paths: {
src: 'src', // The source directory. Must include an index.js entry file.
serve: 'local' // The directory local server runs from
dist: 'dist', // The output directory.
public: 'public' // The public directory (files copied to dist during build)
},
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Advanced Features: Custom Server - Next.js
A custom Next. js server allows you to start a server 100% programmatically in order to use custom server patterns. Most of the...
Read more >File path formats on Windows systems | Microsoft Learn
In this article, learn about file path formats on Windows systems, such as traditional DOS paths, DOS device paths, and universal naming ...
Read more >Feature request: Custom path variables · Issue #209 - GitHub
The path variable GOGS_CONFIG is only for the app.ini config file. But I think a own path variable for the custom directory is...
Read more >Custom installation directory - Octopus Deploy
The custom installation directory feature deploys your package to a specified location on the target server. This feature helps when you are using...
Read more >Adding a Custom Proxy Path - Carbon 4.3.0
Adding a custom proxy path is useful when you have a proxy server fronting your Carbon server. In this scenario, the "custom proxy...
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
Hi @EmilTholin,
Yes, I’m currently using it but not sure how to stop it from generating dist everytime react-static runs.
Should be available in the latest release as a new config option:
config.paths.devDist
😃