@csszyx/unplugin 0.1.0
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 +52 -0
- package/dist/chunk-4M7CPGP7.js +202 -0
- package/dist/chunk-JKM7IRGZ.js +663 -0
- package/dist/css-mangler.cjs +240 -0
- package/dist/css-mangler.d.cts +123 -0
- package/dist/css-mangler.d.ts +123 -0
- package/dist/css-mangler.js +14 -0
- package/dist/index.cjs +905 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +27 -0
- package/dist/unplugin-B9noIooS.d.cts +33 -0
- package/dist/unplugin-B9noIooS.d.ts +33 -0
- package/dist/vite.cjs +755 -0
- package/dist/vite.d.cts +30 -0
- package/dist/vite.d.ts +30 -0
- package/dist/vite.js +10 -0
- package/dist/webpack.cjs +764 -0
- package/dist/webpack.d.cts +10 -0
- package/dist/webpack.d.ts +10 -0
- package/dist/webpack.js +10 -0
- package/package.json +81 -0
package/dist/vite.d.cts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { v as vitePlugin } from './unplugin-B9noIooS.cjs';
|
|
2
|
+
import '@csszyx/types';
|
|
3
|
+
import 'esbuild';
|
|
4
|
+
import 'rollup';
|
|
5
|
+
import 'unplugin';
|
|
6
|
+
import 'vite';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Vite plugin export for csszyx.
|
|
10
|
+
*
|
|
11
|
+
* This exports the Vite-specific plugin configuration which includes
|
|
12
|
+
* both pre and post transformation phases for optimal CSS processing.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { defineConfig } from 'vite';
|
|
17
|
+
* import csszyx from '@csszyx/unplugin/vite';
|
|
18
|
+
*
|
|
19
|
+
* export default defineConfig({
|
|
20
|
+
* plugins: [
|
|
21
|
+
* csszyx({
|
|
22
|
+
* development: { debug: true },
|
|
23
|
+
* production: { injectChecksum: true }
|
|
24
|
+
* })
|
|
25
|
+
* ]
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
export { vitePlugin as default };
|
package/dist/vite.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { v as vitePlugin } from './unplugin-B9noIooS.js';
|
|
2
|
+
import '@csszyx/types';
|
|
3
|
+
import 'esbuild';
|
|
4
|
+
import 'rollup';
|
|
5
|
+
import 'unplugin';
|
|
6
|
+
import 'vite';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Vite plugin export for csszyx.
|
|
10
|
+
*
|
|
11
|
+
* This exports the Vite-specific plugin configuration which includes
|
|
12
|
+
* both pre and post transformation phases for optimal CSS processing.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { defineConfig } from 'vite';
|
|
17
|
+
* import csszyx from '@csszyx/unplugin/vite';
|
|
18
|
+
*
|
|
19
|
+
* export default defineConfig({
|
|
20
|
+
* plugins: [
|
|
21
|
+
* csszyx({
|
|
22
|
+
* development: { debug: true },
|
|
23
|
+
* production: { injectChecksum: true }
|
|
24
|
+
* })
|
|
25
|
+
* ]
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
export { vitePlugin as default };
|