mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
setup: use --moduleResolution Bundler when running esm build
This commit is contained in:
@@ -42,6 +42,8 @@ await Promise.all([
|
||||
"false",
|
||||
"--module",
|
||||
"commonjs",
|
||||
"--moduleResolution",
|
||||
"node",
|
||||
"--outDir",
|
||||
"dist/cjs",
|
||||
IS_WATCH ? "--watch" : ""
|
||||
@@ -53,6 +55,8 @@ await Promise.all([
|
||||
"false",
|
||||
"--module",
|
||||
"esnext",
|
||||
"--moduleResolution",
|
||||
"Bundler",
|
||||
"--outDir",
|
||||
"dist/esm",
|
||||
IS_WATCH ? "--watch" : ""
|
||||
|
||||
Reference in New Issue
Block a user