@pinegrow/nuxt-module 3.0.72-alpha.0 → 3.0.72

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,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.1.0"
6
6
  },
7
- "version": "3.0.72-alpha.0"
7
+ "version": "3.0.71"
8
8
  }
package/dist/module.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { defineNuxtModule, createResolver, addServerPlugin, useNitro, addVitePlugin } from '@nuxt/kit';
2
+ import { pathToFileURL } from 'node:url';
2
3
 
3
4
  const module = defineNuxtModule({
4
5
  async setup(moduleOptions, nuxt) {
@@ -11,7 +12,7 @@ const module = defineNuxtModule({
11
12
  addServerPlugin(resolve("./runtime/nitro-plugin.mjs"));
12
13
  nuxt.hook("listen", async (listenerServer, listener) => {
13
14
  try {
14
- const { liveDesigner } = await import('./chunks/live-designer.mjs');
15
+ const { liveDesigner } = await import(pathToFileURL(resolve("./runtime/live-designer.mjs")).href);
15
16
  const nitroApp = useNitro();
16
17
  const filterConfig = (config) => {
17
18
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/nuxt-module",
3
- "version": "3.0.72-alpha.0",
3
+ "version": "3.0.72",
4
4
  "description": "Pinegrow Nuxt Module",
5
5
  "author": "Pinegrow (http://pinegrow.com/)",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@nuxt/kit": "latest",
47
- "@pinegrow/vite-plugin": "3.0.72-alpha.0"
47
+ "@pinegrow/vite-plugin": "3.0.72"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@nuxt/module-builder": "latest",
@@ -1,7 +0,0 @@
1
- import pkg from '@pinegrow/vite-plugin';
2
-
3
- // import { liveDesigner } from '@pinegrow/vite-plugin/dev'
4
-
5
- const liveDesigner = pkg.liveDesigner;
6
-
7
- export { liveDesigner };