@sdata/web-vue-auto-import-resolver 3.26.0 → 3.27.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/index.d.ts +1 -3
- package/index.js +1 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentResolver } from "unplugin-vue-components/types";
|
|
2
2
|
import { Plugin } from "vite";
|
|
3
|
-
//#region index.d.ts
|
|
4
3
|
export interface SdDesignResolverOptions {
|
|
5
4
|
/** @default 'Sd' */
|
|
6
5
|
prefix?: string;
|
|
@@ -64,5 +63,4 @@ export declare function createSdDesignScssImporter(options?: SdDesignScssImporte
|
|
|
64
63
|
* });
|
|
65
64
|
* ```
|
|
66
65
|
*/
|
|
67
|
-
export declare function createSdDesignVitePlugin(options?: SdDesignVitePluginOptions): Plugin;
|
|
68
|
-
//#endregion
|
|
66
|
+
export declare function createSdDesignVitePlugin(options?: SdDesignVitePluginOptions): Plugin;
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
6
|
-
|
|
6
|
+
// index.ts
|
|
7
7
|
const DEFAULT_PREFIX = "Sd";
|
|
8
8
|
const PACKAGE_NAME = "@sdata/web-vue";
|
|
9
9
|
const SASS_EXTENSIONS = [
|
|
@@ -190,5 +190,4 @@ function createSdDesignVitePlugin(options = {}) {
|
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
//#endregion
|
|
194
193
|
export { SdDesignResolver, createSdDesignScssImporter, createSdDesignVitePlugin };
|
package/package.json
CHANGED