fix: translate extract command (#1394)
Change how the translate extract command is run on build
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 3001",
|
"dev": "next dev -p 3001",
|
||||||
"build": "turbo run translate:extract && turbo run translate:compile && next build",
|
"build": "npm run translate:extract --prefix ../../ && turbo run translate:compile && next build",
|
||||||
"start": "next start -p 3001",
|
"start": "next start -p 3001",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"lint:fix": "next lint --fix",
|
"lint:fix": "next lint --fix",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 3000",
|
"dev": "next dev -p 3000",
|
||||||
"build": "turbo run translate:extract && turbo run translate:compile && next build",
|
"build": "npm run translate:extract --prefix ../../ && turbo run translate:compile && next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"e2e:prepare": "next build && next start",
|
"e2e:prepare": "next build && next start",
|
||||||
|
|||||||
@@ -34,9 +34,6 @@
|
|||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"cache": false
|
"cache": false
|
||||||
},
|
},
|
||||||
"translate:extract": {
|
|
||||||
"cache": false
|
|
||||||
},
|
|
||||||
"translate:compile": {
|
"translate:compile": {
|
||||||
"cache": false
|
"cache": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user