@vuestic/compiler
Version:
Combination of bundling tools focusing on improving development experience when working with Vuestic UI
44 lines (39 loc) • 1.14 kB
TypeScript
import { Plugin } from 'vite';
import { FilterPattern } from '@rollup/pluginutils';
type PluginOptions = {
include?: FilterPattern;
exclude?: FilterPattern;
};
type Options$1 = {
configPath?: string;
};
type Options = {
/** @default true */
devtools?: boolean | PluginOptions;
/**
* Adds CSS layers to Vuestic UI
* Helps control the order of CSS in the final bundle
*
* @default false
*
* Add `vuestic.components` and `vuestic.styles` CSS layers
*
* @notice This will make Vuestic styles less important. Make sure you don't have any global conflicting styles.
* For example. tailwind have normalize css included. It may have higher priority than Vuestic styles and components might look broken.
*/
cssLayers?: boolean | 'auto';
/**
* Compile Vuestic Config on build
*/
config?: boolean | Options$1;
/**
* Auto import components and inject plugin
*
* @default false
*/
autoImport?: boolean | {
typography: boolean;
};
};
declare const vuestic: (options?: Options) => Plugin[];
export { vuestic };