@octanejs/rspack-plugin 0.1.6 → 0.1.7

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 +3 -3
  2. package/types/index.d.ts +7 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/rspack-plugin",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -45,13 +45,13 @@
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@rspack/core": "^2.0.0",
48
- "octane": "0.1.11"
48
+ "octane": "0.1.12"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@rspack/core": "^2.1.3",
52
52
  "@types/node": "^24.3.0",
53
53
  "vitest": "^4.1.9",
54
- "octane": "0.1.11"
54
+ "octane": "0.1.12"
55
55
  },
56
56
  "scripts": {
57
57
  "test": "vitest run --config vitest.config.js"
package/types/index.d.ts CHANGED
@@ -106,13 +106,13 @@ export interface OctaneRspackLoaderOptions {
106
106
  readonly thread: 'background' | 'main-thread';
107
107
  };
108
108
  /**
109
- * Mixed-toolchain ownership gate: when `true`, Octane compiles only
110
- * project modules that declare `'use octane'` in their directive prologue.
111
- * Undirected project `.tsx`/`.ts`/`.js` pass through to the host
112
- * framework's own pipeline; an undirected project `.tsrx` is a build
113
- * error. Installed and linked packages keep their Octane package-manifest
114
- * decision. The directive is always tolerated and stripped from compiled
115
- * output, even when this option is off.
109
+ * Mixed-toolchain ownership gate: when `true`, a project `.tsrx` is
110
+ * Octane's by extension, and a project `.tsx` (full compile) or plain
111
+ * `.ts`/`.js` (hook slotting) is Octane's only when it opens with a
112
+ * leading `@jsxImportSource octane` pragma comment (any registered
113
+ * renderer's intrinsics module also counts). Unmarked project modules
114
+ * pass through to the host framework's own pipeline. Installed and
115
+ * linked packages keep their Octane package-manifest decision.
116
116
  * @default false
117
117
  */
118
118
  requireDirective?: boolean;