added dist into project
This commit is contained in:
@@ -13,6 +13,4 @@ if (!existsSync(path.join(root, 'dist', 'index.html'))) {
|
||||
throw new Error('dist/index.html ساخته نشد')
|
||||
}
|
||||
|
||||
const out = 'deploy-dist.tar.gz'
|
||||
execSync(`tar -czf ${out} dist scripts/serve-user.mjs`, { stdio: 'inherit' })
|
||||
console.log(`packed ${out}`)
|
||||
console.log('dist آماده است. commit و push کنید تا Dokploy بدون npm سرو کند.')
|
||||
|
||||
Reference in New Issue
Block a user