Skip to content

Commit

Permalink
fix: resolve moduleResolution
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 committed Oct 24, 2023
1 parent 4b11696 commit 5cde695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-waku/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import fs from "node:fs";
import path from "node:path";
import { default as prompts } from "prompts";
import { red, green, bold } from "kolorist";
import fse from "fs-extra/esm";
import fse from 'fs-extra'

function isValidPackageName(projectName: string) {
return /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(
Expand Down
2 changes: 1 addition & 1 deletion packages/create-waku/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rootDir": "./src",
"outDir": "./dist",
"module": "ESNext",
"moduleResolution": "bundler",
"moduleResolution": "nodenext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"tsBuildInfoFile": "./dist/.tsbuildinfo"
},
Expand Down

0 comments on commit 5cde695

Please sign in to comment.