sprint-es 0.0.121 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cli.cjs +1 -0
- package/dist/esm/cli.js +1 -0
- package/package.json +1 -1
package/dist/cjs/cli.cjs
CHANGED
|
@@ -197,6 +197,7 @@ async function buildWithEsbuild(srcPath, distPath, external) {
|
|
|
197
197
|
name: "force-external",
|
|
198
198
|
setup(build) {
|
|
199
199
|
build.onResolve({ filter: /^[^./]/ }, (args2) => {
|
|
200
|
+
if (!args2.importer) return null;
|
|
200
201
|
return { path: args2.path, external: true };
|
|
201
202
|
});
|
|
202
203
|
}
|
package/dist/esm/cli.js
CHANGED
|
@@ -178,6 +178,7 @@ async function buildWithEsbuild(srcPath, distPath, external) {
|
|
|
178
178
|
name: "force-external",
|
|
179
179
|
setup(build) {
|
|
180
180
|
build.onResolve({ filter: /^[^./]/ }, (args2) => {
|
|
181
|
+
if (!args2.importer) return null;
|
|
181
182
|
return { path: args2.path, external: true };
|
|
182
183
|
});
|
|
183
184
|
}
|