@merkaly/nuxt 0.1.9 → 0.1.10

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 CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.1.9",
7
+ "version": "0.1.10",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -103,7 +103,7 @@ const module = defineNuxtModule({
103
103
  const bootstrapConfigPath = rootResolver.resolve("bootstrap.config.ts");
104
104
  let BootstrapConfig;
105
105
  if (existsSync(bootstrapConfigPath)) {
106
- BootstrapConfig = await import(bootstrapConfigPath) || {};
106
+ await import(bootstrapConfigPath).then((result) => BootstrapConfig = result.default).catch(() => BootstrapConfig = {});
107
107
  }
108
108
  if (!BootstrapConfig) {
109
109
  BootstrapConfig = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkaly/nuxt",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/merkaly-io/nuxt.git"