Skip to content

Commit

Permalink
cross-platform NODE_OPTIONS env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Jun 21, 2024
1 parent 287aeec commit 8edee2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
process.env.NODE_OPTIONS = "--experimental-vm-modules";
export default {
transform: {
"\\.[jt]sx?$": ["ts-jest", { useESM: true }],
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.13",
"description": "The Continue Core contains functionality that can be shared across web, VS Code, or Node.js server. It is written in TypeScript and contains much of the functionality that was previously inside of the legacy Continue Python Server.",
"scripts": {
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
"test": "jest",
"build:npm": "tsc -p ./tsconfig.npm.json",
"lint": "eslint . --ext ts",
"lint:fix": "eslint . --ext ts --fix"
Expand Down

0 comments on commit 8edee2c

Please sign in to comment.