chore: New js transpiler for dev and for production
The old system weren't minifying javascriptt to assets dir. Now there is a command line for production (build) and dev (build:dev).
This commit is contained in:
@@ -2,7 +2,7 @@ module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "watch-js", // Name of the process
|
||||
script: "bun", // Run npm command
|
||||
script: "yarn", // Run npm command
|
||||
args: "run build --watch", // Run build, build:css, and watch:files in sequence
|
||||
watch: false, // Watch for file changes (you can modify this as needed)
|
||||
autorestart: true, // Automatically restart on crash
|
||||
@@ -13,7 +13,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
name: "watch-css", // Name of the process
|
||||
script: "bun", // Run npm command
|
||||
script: "yarn", // Run npm command
|
||||
args: "run build:css --watch", // Run build, build:css, and watch:files in sequence
|
||||
watch: false, // Watch for file changes (you can modify this as needed)
|
||||
autorestart: true, // Automatically restart on crash
|
||||
|
||||
Reference in New Issue
Block a user