Skip to content

Commit

Permalink
fix(node): support v20 + suppress experimental warnings (#9517)
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker authored Nov 7, 2023
1 parent 9fae3ab commit 4401c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ai-help": "ts-node scripts/ai-help.ts",
"analyze": "source-map-explorer 'client/build/static/js/*.js'",
"analyze:css": "source-map-explorer 'client/build/static/css/*.css'",
"build": "cross-env NODE_ENV=production ts-node build/cli.ts",
"build": "cross-env NODE_ENV=production NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node build/cli.ts",
"build:blog": "cross-env NODE_ENV=production ts-node build/build-blog.ts",
"build:client": "cd client && cross-env NODE_ENV=production BABEL_ENV=production INLINE_RUNTIME_CHUNK=false node scripts/build.js",
"build:dist": "tsc -p tsconfig.dist.json",
Expand Down Expand Up @@ -52,7 +52,7 @@
"test:libs": "yarn jest --rootDir libs --env=node",
"test:prepare": "yarn build:prepare && yarn build && yarn start:static-server",
"test:testing": "yarn jest --rootDir testing",
"tool": "ts-node tool/cli.ts",
"tool": "NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node ./tool/cli.ts",
"watch:ssr": "cd ssr && webpack --mode=production --watch"
},
"resolutions": {
Expand Down

0 comments on commit 4401c3e

Please sign in to comment.