@bamboocss/plugin-lightningcss 1.12.2 → 1.13.1

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/LICENSE.md CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2023 Segun Adebayo
4
+ Copyright (c) 2026 Gajus Kuizinas
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6
7
  documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
@@ -0,0 +1,13 @@
1
+ import { BambooPlugin } from "@bamboocss/types";
2
+
3
+ //#region src/optimize-lightningcss.d.ts
4
+ interface OptimizeOptions {
5
+ minify?: boolean;
6
+ browserslist?: string[];
7
+ }
8
+ declare function optimizeLightCss(code: string, options?: OptimizeOptions): string;
9
+ //#endregion
10
+ //#region src/index.d.ts
11
+ declare function pluginLightningcss(): BambooPlugin;
12
+ //#endregion
13
+ export { optimizeLightCss, pluginLightningcss };
@@ -0,0 +1,13 @@
1
+ import { BambooPlugin } from "@bamboocss/types";
2
+
3
+ //#region src/optimize-lightningcss.d.ts
4
+ interface OptimizeOptions {
5
+ minify?: boolean;
6
+ browserslist?: string[];
7
+ }
8
+ declare function optimizeLightCss(code: string, options?: OptimizeOptions): string;
9
+ //#endregion
10
+ //#region src/index.d.ts
11
+ declare function pluginLightningcss(): BambooPlugin;
12
+ //#endregion
13
+ export { optimizeLightCss, pluginLightningcss };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@bamboocss/plugin-lightningcss",
3
- "version": "1.12.2",
3
+ "version": "1.13.1",
4
4
  "description": "Bamboo CSS plugin for LightningCSS optimization",
5
- "homepage": "https://bamboo-css.com",
5
+ "homepage": "https://bamboocss.com",
6
6
  "license": "MIT",
7
- "author": "Segun Adebayo <joseshegs@gmail.com>",
7
+ "author": "Gajus Kuizinas <gajus@gajus.com>",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/bamboocss/bamboo.git",
@@ -35,8 +35,8 @@
35
35
  "dependencies": {
36
36
  "browserslist": "4.28.1",
37
37
  "lightningcss": "1.31.1",
38
- "@bamboocss/types": "1.12.2",
39
- "@bamboocss/logger": "1.12.2"
38
+ "@bamboocss/logger": "1.13.1",
39
+ "@bamboocss/types": "1.13.1"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsdown src/index.ts --format=esm,cjs --dts",