@nola-lang/rollup 0.1.0-alpha.0 → 0.1.3
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 +21 -21
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# @nola-lang/rollup
|
|
2
|
-
|
|
3
|
-
Rollup plugin for [Nola](https://github.com/nola-lang/nola) `.tsi` modules.
|
|
4
|
-
|
|
5
|
-
```js
|
|
6
|
-
// rollup.config.mjs
|
|
7
|
-
import nola from "@nola-lang/rollup";
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
input: "src/main.ts",
|
|
11
|
-
plugins: [nola()],
|
|
12
|
-
external: (id) => id.startsWith("@nola-lang/"),
|
|
13
|
-
};
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
Aimed at library authors: pass `nola({ target: "lib" })` to skip config
|
|
17
|
-
auto-wiring — the consuming app configures the Nola runtime. Nola execution is
|
|
18
|
-
server-only in v0.
|
|
19
|
-
|
|
20
|
-
For `tsc --noEmit` in CI, run `nola declarations` and enable
|
|
21
|
-
`"allowArbitraryExtensions": true` in tsconfig.
|
|
1
|
+
# @nola-lang/rollup
|
|
2
|
+
|
|
3
|
+
Rollup plugin for [Nola](https://github.com/nola-lang/nola) `.tsi` modules.
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
// rollup.config.mjs
|
|
7
|
+
import nola from "@nola-lang/rollup";
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
input: "src/main.ts",
|
|
11
|
+
plugins: [nola()],
|
|
12
|
+
external: (id) => id.startsWith("@nola-lang/"),
|
|
13
|
+
};
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Aimed at library authors: pass `nola({ target: "lib" })` to skip config
|
|
17
|
+
auto-wiring — the consuming app configures the Nola runtime. Nola execution is
|
|
18
|
+
server-only in v0.
|
|
19
|
+
|
|
20
|
+
For `tsc --noEmit` in CI, run `nola declarations` and enable
|
|
21
|
+
`"allowArbitraryExtensions": true` in tsconfig.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nola-lang/rollup",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Rollup plugin for Nola (.tsi)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nola",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"!dist/.tsbuildinfo"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nola-lang/unplugin": "0.1.
|
|
38
|
+
"@nola-lang/unplugin": "0.1.3"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=22"
|