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 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprint-es",
3
- "version": "0.0.121",
3
+ "version": "0.0.122",
4
4
  "description": "Sprint - Quickly API",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",