File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
postcss-custom-properties-fallback Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ const isTransformableDecl = decl => customPropertiesRegExp.test(decl.value);
10
10
11
11
import postcssValuesParser from 'postcss-values-parser' ; // eslint-disable-line
12
12
13
- export default opts => ( {
13
+ /**
14
+ * @param {{importFrom: any} } opts
15
+ * @returns {import('postcss').Plugin }
16
+ */
17
+ const plugin = opts => ( {
14
18
postcssPlugin : 'postcss-custom-properties-fallback' ,
15
19
16
20
prepare ( ) {
@@ -69,3 +73,5 @@ export default opts => ({
69
73
} ,
70
74
} ) ;
71
75
//# sourceMappingURL=plugin.js.map
76
+
77
+ export default plugin ;
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const options = {
21
21
22
22
const filter = createFilter ( options . include , options . exclude , { } ) ;
23
23
24
+ /**
25
+ * @returns {import('vite').PluginOption }
26
+ */
24
27
export default function ( ) {
25
28
return {
26
29
name : 'process-lit-postcss-esm' ,
You can’t perform that action at this time.
0 commit comments