crelte 0.5.0-alpha.2 → 0.5.0-alpha.3

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.
@@ -1,4 +1,4 @@
1
- import { internalSvelteMount, internalSvelteRender, } from 'crelte-vite-plugin/svelteComponents.js';
1
+ import { internalSvelteMount, internalSvelteRender, } from 'virtual:crelte/svelteComponents';
2
2
  export function svelteMount(comp, options) {
3
3
  return internalSvelteMount(comp, options);
4
4
  }
@@ -1,4 +1,4 @@
1
- declare module 'crelte-vite-plugin/svelteComponents.js' {
1
+ declare module 'virtual:crelte/svelteComponents' {
2
2
  // Declarations for the internal functions imported from the plugin
3
3
  export function internalSvelteMount(comp: any, options: any): any;
4
4
  export function internalSvelteRender(comp: any, options: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crelte",
3
- "version": "0.5.0-alpha.2",
3
+ "version": "0.5.0-alpha.3",
4
4
  "author": "Crelte <support@crelte.com>",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  internalSvelteMount,
3
3
  internalSvelteRender,
4
- } from 'crelte-vite-plugin/svelteComponents.js';
4
+ } from 'virtual:crelte/svelteComponents';
5
5
 
6
6
  export function svelteMount(comp: any, options: any): any {
7
7
  return internalSvelteMount(comp, options);
@@ -1,4 +1,4 @@
1
- declare module 'crelte-vite-plugin/svelteComponents.js' {
1
+ declare module 'virtual:crelte/svelteComponents' {
2
2
  // Declarations for the internal functions imported from the plugin
3
3
  export function internalSvelteMount(comp: any, options: any): any;
4
4
  export function internalSvelteRender(comp: any, options: any): any;