bun-plugin-stx 0.2.41 → 0.2.46

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.
@@ -310,6 +310,8 @@ function stxPlugin(userOptions) {
310
310
  build.onResolve({ filter: /^\// }, (args) => {
311
311
  if (args.path.startsWith("//"))
312
312
  return null;
313
+ if (!args.importer)
314
+ return null;
313
315
  return { external: true, path: args.path };
314
316
  });
315
317
  build.onLoad({ filter: /\.md$/ }, async (args) => {
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  startWatchMode,
9
9
  stxPlugin,
10
10
  watchAndBuild
11
- } from "./chunk-qrdapdgw.js";
11
+ } from "./chunk-b4s904jx.js";
12
12
  import"./chunk-2mx7fq49.js";
13
13
  export {
14
14
  watchAndBuild,
package/dist/preload.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  src_default
4
- } from "./chunk-qrdapdgw.js";
4
+ } from "./chunk-b4s904jx.js";
5
5
  import"./chunk-2mx7fq49.js";
6
6
 
7
7
  // src/preload.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-plugin-stx",
3
3
  "type": "module",
4
- "version": "0.2.41",
4
+ "version": "0.2.46",
5
5
  "description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -72,6 +72,6 @@
72
72
  "typecheck": "bun tsc --noEmit"
73
73
  },
74
74
  "dependencies": {
75
- "@stacksjs/stx": "0.2.41"
75
+ "@stacksjs/stx": "0.2.46"
76
76
  }
77
77
  }