Skip to content

Commit

Permalink
Enable building with Node v20; stop using nvm; suppress spurious warn…
Browse files Browse the repository at this point in the history
…ings

Relates to mdn/content#28655
  • Loading branch information
sideshowbarker committed Aug 20, 2023
1 parent f962258 commit b05f3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

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 b05f3e3

Please sign in to comment.