@aeolun/bun-plugin-solid-oxc 0.1.0-alpha.15 → 0.1.0-alpha.16

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeolun/bun-plugin-solid-oxc",
3
- "version": "0.1.0-alpha.15",
3
+ "version": "0.1.0-alpha.16",
4
4
  "description": "Bun plugin for SolidJS using OXC-based compiler",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -38,6 +38,6 @@
38
38
  "devDependencies": {
39
39
  "@types/bun": "latest",
40
40
  "typescript": "^5.0.0",
41
- "@aeolun/solid-jsx-oxc": "0.1.0-alpha.15"
41
+ "@aeolun/solid-jsx-oxc": "0.1.0-alpha.16"
42
42
  }
43
43
  }
package/src/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Usage with Bun.build():
7
7
  * ```ts
8
- * import solidPlugin from 'bun-plugin-solid-oxc';
8
+ * import solidPlugin from '@aeolun/bun-plugin-solid-oxc';
9
9
  *
10
10
  * await Bun.build({
11
11
  * entrypoints: ['./src/index.tsx'],
@@ -17,7 +17,7 @@
17
17
  * Usage with bunfig.toml (runtime):
18
18
  * ```toml
19
19
  * [bunfig]
20
- * preload = ["bun-plugin-solid-oxc/register"]
20
+ * preload = ["@aeolun/bun-plugin-solid-oxc/register"]
21
21
  * ```
22
22
  */
23
23
 
@@ -97,11 +97,11 @@ export default function solidOxc(options: SolidOxcOptions = {}): BunPlugin {
97
97
  const opts = { ...defaultOptions, ...options };
98
98
 
99
99
  return {
100
- name: 'bun-plugin-solid-oxc',
100
+ name: '@aeolun/bun-plugin-solid-oxc',
101
101
 
102
102
  async setup(build) {
103
103
  // Load the native module once
104
- const solidJsxOxc = await import('solid-jsx-oxc');
104
+ const solidJsxOxc = await import('@aeolun/solid-jsx-oxc');
105
105
 
106
106
  // Use Bun's onLoad hook with filter
107
107
  build.onLoad({ filter: opts.include! }, async (args) => {