Provide an option to use custom folder name instead of _next
See original GitHub issueFeature request
Is your feature request related to a problem? Please describe.
We tried to run next export command to generate static assets and to pack our app with cordova or capacitor. It turns out that those engines omit any folders that begin with an underscore without warning. And once you run next export some of the files are put inside of _next directory. So, to run the app one has to find a way to rename this folder and all links inside generated files not to include underscore.
Describe the solution you’d like
It would be really nice to have an option available in next.config.js to provide a name of that directory to be used instead of _next.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:13
- Comments:16 (2 by maintainers)
Top Results From Across the Web
How set the setting of a custom build directory in nextjs?
You can specify a name to use for a custom build directory to use instead of .next. Open next.config.js and add the… nextjs.org ......
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 >FolderBrowserDialog add Custom Root Name - Stack Overflow
3 Answers 3 · Default the RootFolder to Desktop · Set your custom folder as the SelectedPath property. fd.SelectedPath = string.Format("D:\Project ...
Read more >11070: Drake Documents - Custom Folders
To change the name of the new folder, select the folder and click Edit. To delete the new folder, select the folder and...
Read more >Windows 10 tip: Customize your user profile folder name
If you'd rather choose your own name for the profile folder, the trick is to start by creating a local account whose user...
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
We’re not planning to allow changing the _next folder name as of currently.
Using Next + Static Export cannot be used to write a chrome extension because of this limitation.