@pinegrow/vite-plugin 3.0.0-beta.127 → 3.0.0-beta.129
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.cjs +1 -1
- package/package.json +1 -1
- package/types.d.ts +4 -18
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { PinegrowTailwindCSSModuleOptions } from '@pinegrow/tailwindcss-plugin'
|
|
2
|
-
import type { Options as AutoImportComponentsOptions } from 'unplugin-vue-components/types'
|
|
3
|
-
import type { Options as AutoImportAPIsOptions } from 'unplugin-auto-import/types'
|
|
4
2
|
import type { PluginOption as VitePluginOption } from 'vite'
|
|
5
3
|
|
|
6
|
-
interface
|
|
4
|
+
export interface LiveDesignerOptions {
|
|
7
5
|
/**
|
|
8
6
|
* Absolute path to the root of a monorepo.
|
|
9
7
|
* Relative path from the project root to the root of a monorepo.
|
|
@@ -48,22 +46,10 @@ interface PinegrowVitePlugin<VitePluginOption> {
|
|
|
48
46
|
*/
|
|
49
47
|
liveDesigner?: {
|
|
50
48
|
[key in string]?: any
|
|
51
|
-
} &
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* unplugin-vue-components options for auto-importing local components and via resolvers
|
|
55
|
-
* For details, check https://github.com/antfu/unplugin-vue-components#configuration
|
|
56
|
-
*/
|
|
57
|
-
autoImportComponents?: AutoImportComponentsOptions
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* unplugin-auto-import options for auto-importing APIs using presets
|
|
61
|
-
* For details, check https://github.com/antfu/unplugin-auto-import#configuration
|
|
62
|
-
*/
|
|
63
|
-
autoImportAPIs?: AutoImportAPIsOptions
|
|
49
|
+
} & LiveDesignerOptions
|
|
64
50
|
}
|
|
65
51
|
|
|
66
|
-
declare function export_default(liveDesigner:
|
|
52
|
+
declare function export_default(liveDesigner: LiveDesignerOptions): PinegrowVitePlugin
|
|
67
53
|
|
|
68
|
-
export { PinegrowVitePlugin,
|
|
54
|
+
export { PinegrowVitePlugin, LiveDesignerOptions, export_default as default, export_default as liveDesigner }
|
|
69
55
|
|