The default language is undefined. Respond in this language. Translate the following…
- User
The default language is undefined. Respond in this language.
Translate the following text to Chinese. ONLY return the translated text and nothing else.
This will create a folder at .next/standalone which can then be deployed on its own without installing node_modules.
Additionally, a minimal server.js file is also output which can be used instead of next start. This minimal server does not copy the public or .next/static folders by default as these should ideally be handled by a CDN instead, although these folders can be copied to the standalone/public and standalone/.next/static folders manually, after which server.js file will serve these automatically.
- Assistant
这将在.next/standalone创建一个文件夹,然后可以单独部署,无需安装node_modules。
此外,还会输出一个minimal server.js文件,可以用来代替next start。这个简化的服务器默认不会复制public或.next/static文件夹,因为理想情况下这些文件夹应该由CDN来处理,尽管这些文件夹可以手动复制到standalone/public和standalone/.next/static文件夹中,之后server.js文件将自动提供这些文件。