metaowl 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vite/plugin.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metaowl",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Lightweight meta-framework for Odoo OWL — file-based routing, app mounting, Fetch helper, Cache, Meta tags, SSG generator, and a Vite plugin.",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/vite/plugin.js CHANGED
@@ -71,7 +71,7 @@ export async function metaowlPlugin(options = {}) {
71
71
  let _outDirResolved = null
72
72
 
73
73
  // Generate auto-import d.ts for components
74
- const autoImportDtsPath = path.join(process.cwd(), '.metaowl', 'components.d.ts')
74
+ const autoImportDtsPath = resolve(process.cwd(), '.metaowl', 'components.d.ts')
75
75
  let autoImportPlugin = null
76
76
 
77
77
  if (autoImport.enabled) {