heart-ui 0.0.7 → 0.0.8
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/nuxt.js +8 -8
- package/package.json +1 -1
package/dist/nuxt.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineNuxtModule as o, createResolver as
|
|
2
|
-
const
|
|
1
|
+
import { defineNuxtModule as o, createResolver as t, addComponentsDir as r, addImports as n, addPlugin as a } from "@nuxt/kit";
|
|
2
|
+
const p = o({
|
|
3
3
|
meta: {
|
|
4
4
|
name: "heart-ui",
|
|
5
5
|
configKey: "heart"
|
|
6
6
|
},
|
|
7
|
-
setup: () => {
|
|
8
|
-
const e =
|
|
9
|
-
|
|
7
|
+
setup: (l, s) => {
|
|
8
|
+
const e = t(import.meta.url);
|
|
9
|
+
r({
|
|
10
10
|
path: e.resolve("./components/"),
|
|
11
11
|
prefix: "h",
|
|
12
12
|
pattern: "**/*.js",
|
|
13
13
|
ignore: ["**/*.vue.js", "**/*.d.ts"]
|
|
14
|
-
}),
|
|
14
|
+
}), n({
|
|
15
15
|
name: "useGlobalCss",
|
|
16
16
|
// name of the composable to be used
|
|
17
17
|
as: "useGlobalCss",
|
|
18
18
|
from: e.resolve("./composables/index")
|
|
19
|
-
}), a(e.resolve("./nuxt/plugin"));
|
|
19
|
+
}), s.options.build.transpile.push(e.resolve("./nuxt/plugin")), a(e.resolve("./nuxt/plugin"));
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
p as default
|
|
24
24
|
};
|