@nola-lang/unplugin 0.1.0-alpha.0 → 0.1.2
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 +16 -16
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# @nola-lang/unplugin
|
|
2
|
-
|
|
3
|
-
Universal bundler plugin for [Nola](https://github.com/nola-lang/nola) `.tsi` modules,
|
|
4
|
-
built on [unplugin](https://github.com/unjs/unplugin). One transform core serves
|
|
5
|
-
Vite, webpack, Rollup, esbuild, and Rspack through subpath exports:
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
import nola from "@nola-lang/unplugin/vite"; // or /webpack, /rollup, /rolldown, /esbuild, /rspack
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Prefer the named wrapper packages (`@nola-lang/vite`, `@nola-lang/webpack`,
|
|
12
|
-
`@nola-lang/rollup`, `@nola-lang/rolldown`, `@nola-lang/esbuild`,
|
|
13
|
-
`@nola-lang/rspack`) — they re-export these adapters with per-bundler setup docs.
|
|
14
|
-
|
|
15
|
-
Nola execution is **server-only in v0**: the plugin lowers `.tsi` for server
|
|
16
|
-
builds (SSR entries, Node targets) and fails client bundles with `NOLA4001`.
|
|
1
|
+
# @nola-lang/unplugin
|
|
2
|
+
|
|
3
|
+
Universal bundler plugin for [Nola](https://github.com/nola-lang/nola) `.tsi` modules,
|
|
4
|
+
built on [unplugin](https://github.com/unjs/unplugin). One transform core serves
|
|
5
|
+
Vite, webpack, Rollup, esbuild, and Rspack through subpath exports:
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import nola from "@nola-lang/unplugin/vite"; // or /webpack, /rollup, /rolldown, /esbuild, /rspack
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Prefer the named wrapper packages (`@nola-lang/vite`, `@nola-lang/webpack`,
|
|
12
|
+
`@nola-lang/rollup`, `@nola-lang/rolldown`, `@nola-lang/esbuild`,
|
|
13
|
+
`@nola-lang/rspack`) — they re-export these adapters with per-bundler setup docs.
|
|
14
|
+
|
|
15
|
+
Nola execution is **server-only in v0**: the plugin lowers `.tsi` for server
|
|
16
|
+
builds (SSR entries, Node targets) and fails client bundles with `NOLA4001`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nola-lang/unplugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Universal bundler plugin for Nola (.tsi): Vite, webpack, Rollup, esbuild, Rspack via unplugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nola",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"!dist/.tsbuildinfo"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@nola-lang/ast": "0.1.
|
|
65
|
-
"@nola-lang/compiler": "0.1.
|
|
66
|
-
"@nola-lang/node-loader": "0.1.
|
|
67
|
-
"nola-lang": "0.1.
|
|
64
|
+
"@nola-lang/ast": "0.1.2",
|
|
65
|
+
"@nola-lang/compiler": "0.1.2",
|
|
66
|
+
"@nola-lang/node-loader": "0.1.2",
|
|
67
|
+
"nola-lang": "0.1.2",
|
|
68
68
|
"unplugin": "^2.1.0"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|