nuxt-typed-router 3.3.0 → 3.3.1

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
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.0.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "3.3.0"
8
+ "version": "3.3.1"
9
9
  }
package/dist/module.mjs CHANGED
@@ -1690,6 +1690,14 @@ const module = defineNuxtModule({
1690
1690
  });
1691
1691
  }
1692
1692
  });
1693
+ nuxt.hook("build:done", () => {
1694
+ if (moduleOptions.experimentalRemoveNuxtDefs) {
1695
+ removeNuxtDefinitions({
1696
+ autoImport: nuxt.options.imports.autoImport ?? true,
1697
+ buildDir: nuxt.options.buildDir
1698
+ });
1699
+ }
1700
+ });
1693
1701
  if (nuxt.options.dev) {
1694
1702
  nuxt.hook("devtools:customTabs", (tabs) => {
1695
1703
  tabs.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-typed-router",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Provide autocompletion for routes paths, names and params in Nuxt apps",
5
5
  "type": "module",
6
6
  "main": "./dist/module.cjs",