barely-a-dev-server
Advanced tools
Comparing version 0.4.12 to 0.5.0
{ | ||
"name": "barely-a-dev-server", | ||
"version": "0.4.12", | ||
"version": "0.5.0", | ||
"type": "module", | ||
@@ -11,3 +11,3 @@ "description": "", | ||
"peerDependencies": { | ||
"esbuild": "0.16.17" | ||
"esbuild": "^0.17.19" | ||
}, | ||
@@ -14,0 +14,0 @@ "types": "./src/index.d.ts", |
@@ -22,3 +22,3 @@ import * as esbuild from "esbuild"; | ||
); | ||
return (currentBuildResult = esbuild.build({ | ||
const buildContext = await esbuild.context({ | ||
target: "es2020", | ||
@@ -33,6 +33,8 @@ logLevel: "info", | ||
entryPoints, | ||
outbase: options.entryRoot, | ||
outdir: options.outDir, | ||
watch: options.dev, | ||
})); | ||
}); | ||
if (options.dev) { | ||
buildContext.watch(); | ||
} | ||
return buildContext; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44831
168