We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8bc3e7 commit f680848Copy full SHA for f680848
1 file changed
frontend/apps/gate/scripts/package.js
@@ -102,6 +102,23 @@ try {
102
stdio: 'inherit',
103
});
104
105
+ execSync('cp -r .next/standalone/apps/gate/dist/.next .next/standalone/', {
106
+ cwd: distFolder,
107
+ stdio: 'inherit',
108
+ });
109
+ execSync('cp -r .next/standalone/apps/gate/dist/node_modules .next/standalone/', {
110
111
112
113
+ execSync('cp -r .next/standalone/apps/gate/dist/package.json .next/standalone/', {
114
115
116
117
+ execSync('rm -rf .next/standalone/apps', {
118
119
120
121
+
122
console.log('Copying public and static assets into .next/standalone...');
123
execSync('cp -r public .next/standalone/', {
124
cwd: distFolder,
0 commit comments