bm-admin-ui 0.1.1-3 → 0.1.1-4

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.
@@ -0,0 +1,9 @@
1
+ export declare function BmAdminUiResolver(): {
2
+ type: string;
3
+ resolve: (name: string) => {
4
+ name: string;
5
+ importName: string;
6
+ path: string;
7
+ sideEffects: string;
8
+ } | undefined;
9
+ }[];
@@ -0,0 +1,18 @@
1
+ export function BmAdminUiResolver() {
2
+ return [
3
+ {
4
+ type: 'component',
5
+ resolve: (name) => {
6
+ if (name.startsWith('Bm')) {
7
+ const dirName = name.slice(2);
8
+ return {
9
+ name: dirName,
10
+ importName: name,
11
+ path: 'bm-admin-ui/es',
12
+ sideEffects: `bm-admin-ui/theme-chalk/${dirName.toLocaleLowerCase()}.css`
13
+ };
14
+ }
15
+ }
16
+ }
17
+ ];
18
+ }
@@ -0,0 +1,9 @@
1
+ export declare function BmAdminUiResolver(): {
2
+ type: string;
3
+ resolve: (name: string) => {
4
+ name: string;
5
+ importName: string;
6
+ path: string;
7
+ sideEffects: string;
8
+ } | undefined;
9
+ }[];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BmAdminUiResolver = void 0;
4
+ function BmAdminUiResolver() {
5
+ return [
6
+ {
7
+ type: 'component',
8
+ resolve: (name) => {
9
+ if (name.startsWith('Bm')) {
10
+ const dirName = name.slice(2);
11
+ return {
12
+ name: dirName,
13
+ importName: name,
14
+ path: 'bm-admin-ui/es',
15
+ sideEffects: `bm-admin-ui/theme-chalk/${dirName.toLocaleLowerCase()}.css`
16
+ };
17
+ }
18
+ }
19
+ }
20
+ ];
21
+ }
22
+ exports.BmAdminUiResolver = BmAdminUiResolver;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bm-admin-ui",
3
- "version": "0.1.1-3",
3
+ "version": "0.1.1-4",
4
4
  "private": false,
5
5
  "description": "Bm-admin-ui",
6
6
  "license": "UNLICENSED",
@@ -0,0 +1,9 @@
1
+ export declare function BmAdminUiResolver(): {
2
+ type: string;
3
+ resolve: (name: string) => {
4
+ name: string;
5
+ importName: string;
6
+ path: string;
7
+ sideEffects: string;
8
+ } | undefined;
9
+ }[];