Skip to content

Commit

Permalink
fix: Do not use node: (#4189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Feb 16, 2023
1 parent 010036b commit b779bf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cspell.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"path": "."
},
{ "path": "docs" },
{ "path": "packages/dynamic-import" },
{ "path": "integration-tests" },
{ "path": "packages/cspell-bundled-dicts" },
{ "path": "packages/cspell-config-lib" },
Expand Down
4 changes: 2 additions & 2 deletions packages/dynamic-import/lib/dynamicImport.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dImport } from './dImport.js';
import { sep as pathSep } from 'node:path';
import { pathToFileURL } from 'node:url';
import { sep as pathSep } from 'path';
import { pathToFileURL } from 'url';

/**
* Lazy load the importer so we can use an ESM packages inside a cjs file.
Expand Down

0 comments on commit b779bf6

Please sign in to comment.