@teacss/bun 0.10.8 → 0.10.10
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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { type ShellOptions } from "@teacss/engine";
|
|
|
2
2
|
import type { BuildConfig, BuildOutput, BunPlugin } from "bun";
|
|
3
3
|
export type { ShellOptions } from "@teacss/engine";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* `import "virtual:teacss.css"` (or `"teacss.css"`) becomes the generated stylesheet; every other
|
|
6
6
|
* module goes through `project.transform`, and in a CSS file whose top level has `@teacss;` the generated
|
|
7
7
|
* stylesheet then takes that rule's place. `minify` defaults to false, as teacss-ts's Bun plugin emits the
|
|
8
8
|
* stylesheet unminified.
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const NODE_MODULES = `${sep}node_modules${sep}`;
|
|
|
11
11
|
const FONT_URL_PREFIX = "./teacss-fonts/teacss-";
|
|
12
12
|
const FONT_URL = /^\.\/teacss-fonts\/teacss-[a-f0-9]{64}\.woff2$/;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The tokens of every `@source` file read once and of `inline.content.inline`. `warned` holds the
|
|
15
15
|
* unmatched-token warnings already printed by earlier builds of the same plugin.
|
|
16
16
|
*/
|
|
17
17
|
function generateCss(project, minify, warned) {
|
|
@@ -60,7 +60,7 @@ function projectRoot(options, config) {
|
|
|
60
60
|
return resolve(options.root ?? config.root ?? process.cwd());
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* `import "virtual:teacss.css"` (or `"teacss.css"`) becomes the generated stylesheet; every other
|
|
64
64
|
* module goes through `project.transform`, and in a CSS file whose top level has `@teacss;` the generated
|
|
65
65
|
* stylesheet then takes that rule's place. `minify` defaults to false, as teacss-ts's Bun plugin emits the
|
|
66
66
|
* stylesheet unminified.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teacss/bun",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "Bun.build plugin for TeaCSS: virtual:teacss.css and the entry's @teacss become the CSS the Rust engine generates",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"node": ">=26"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@teacss/engine": "0.10.
|
|
34
|
+
"@teacss/engine": "0.10.10"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/bun": "1.4.3",
|