Skip to content

Commit e08fb41

Browse files
tdonohuegithub-actions[bot]
authored andcommitted
Fix Mirador build process on main. Similar to "build:prod" it needs to use "cross-env" to work with later versions of Node (especially v22.20+)
(cherry picked from commit 8f2562b)
1 parent 5edff03 commit e08fb41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"clean:prod": "npm run clean:dist && npm run clean:log && npm run clean:doc && npm run clean:coverage && npm run clean:json",
3939
"clean": "npm run clean:prod && npm run clean:dev:config && npm run clean:cli && npm run clean:node",
4040
"sync-i18n": "ts-node -r tsconfig-paths/register --project ./tsconfig.ts-node.json scripts/sync-i18n-files.ts",
41-
"build:mirador": "webpack --config webpack/webpack.mirador.config.ts",
41+
"build:mirador": "cross-env TS_NODE_PROJECT=./tsconfig.ts-node.json webpack --config webpack/webpack.mirador.config.ts",
4242
"merge-i18n": "ts-node -r tsconfig-paths/register --project ./tsconfig.ts-node.json scripts/merge-i18n-files.ts",
4343
"cypress:open": "cypress open",
4444
"cypress:run": "cypress run",

0 commit comments

Comments
 (0)