usemods-nuxt 1.14.1 → 1.15.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/dist/module.json +1 -1
- package/dist/module.mjs +2 -1
- package/package.json +2 -2
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -15,7 +15,8 @@ const module = defineNuxtModule({
|
|
|
15
15
|
},
|
|
16
16
|
setup(options) {
|
|
17
17
|
const aliasMap = new Map(options.alias);
|
|
18
|
-
|
|
18
|
+
const exportedFunctions = Object.keys(utils);
|
|
19
|
+
for (const name of exportedFunctions) {
|
|
19
20
|
const alias = aliasMap.has(name) ? aliasMap.get(name) : name;
|
|
20
21
|
addImports({
|
|
21
22
|
name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "usemods-nuxt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"description": "Zippy little modifiers and utilities for your Nuxt app.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@nuxt/kit": "^3.15.4 || ^4.0.0",
|
|
25
|
-
"usemods": "1.
|
|
25
|
+
"usemods": "1.15.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@nuxt/devtools": "^1.7.0",
|