octane 0.1.41 → 0.1.43
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/README.md +7 -0
- package/dist/cjs/runtime.cjs +638 -179
- package/dist/cjs/runtime.server.cjs +14 -4
- package/dist/cjs/version.cjs +1 -1
- package/dist/compiler/bundler.js +51 -2
- package/dist/compiler/compile.js +377 -67
- package/dist/compiler/css-module-constants.js +324 -0
- package/dist/compiler/css-module-imports.js +265 -0
- package/dist/compiler/index.d.ts +28 -0
- package/dist/compiler/vite.d.ts +24 -0
- package/dist/compiler/vite.js +208 -6
- package/dist/runtime.d.ts +10 -10
- package/dist/runtime.js +638 -179
- package/dist/runtime.server.d.ts +14 -9
- package/dist/runtime.server.js +14 -4
- package/dist/universal-core.js +58 -24
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,10 @@ Custom Node build pipelines can opt into project-aware string-child inference
|
|
|
21
21
|
through `octane/compiler/typescript`. See the
|
|
22
22
|
[type-aware text compilation guide](https://github.com/octanejs/octane/blob/main/docs/compiler-text-inference.md).
|
|
23
23
|
|
|
24
|
+
Vite builds can fold proven immutable CSS-module class strings into templates.
|
|
25
|
+
See the [CSS-module constants guide](https://github.com/octanejs/octane/blob/main/docs/compiler-css-module-constants.md)
|
|
26
|
+
for the provider contract and stylesheet-loading guarantees.
|
|
27
|
+
|
|
24
28
|
Direct Node or Bun server scripts can preload `octane/compiler/register` to
|
|
25
29
|
compile imported Octane components without going through Vite. See the
|
|
26
30
|
[SSR guide](https://github.com/octanejs/octane/blob/main/docs/ssr.md#run-an-ssg-script-directly).
|
|
@@ -36,6 +40,9 @@ For the full story, see the
|
|
|
36
40
|
|
|
37
41
|
## Browser compatibility
|
|
38
42
|
|
|
43
|
+
See the [browser support guide](https://octanejs.dev/docs/browser-support) for
|
|
44
|
+
recommended targets, required browser APIs, and optional fallbacks.
|
|
45
|
+
|
|
39
46
|
Configure your application's build target for the browser engines you support.
|
|
40
47
|
The Rsbuild integration's `modules` target includes Chromium 87 and Samsung
|
|
41
48
|
Internet 14; Samsung Internet can also be selected directly with targets such as
|