I'm encountering an issue where index.mjs does not export a handler function, resulting in a lack of an entry point for rendering, regardless of packaging with NCC. This issue persists, leading me to suspect it might be related to versioning problems due to the package's age. However, I'm unable to pinpoint the exact issue within my setup.
I am using Node 20 and vite version 5.1.4 to built it.
This is my vite config for now I rename as it seems that this package only supports if endings are .mjs
"import { fileURLToPath, URL } from 'node:url';
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import DefineOptions from 'unplugin-vue-define-options/vite';
import visualizer from 'rollup-plugin-visualizer';
import laravel from 'laravel-vite-plugin';
Checked for any potential setup mistakes:
Reviewed the package and sidecar documentation for any changes
Searched for similar issues on GitHub and Stack Overflow.
tried various configs
I'm encountering an issue where index.mjs does not export a handler function, resulting in a lack of an entry point for rendering, regardless of packaging with NCC. This issue persists, leading me to suspect it might be related to versioning problems due to the package's age. However, I'm unable to pinpoint the exact issue within my setup.
I am using Node 20 and vite version 5.1.4 to built it.
This is my vite config for now I rename as it seems that this package only supports if endings are .mjs
"import { fileURLToPath, URL } from 'node:url'; import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import DefineOptions from 'unplugin-vue-define-options/vite'; import visualizer from 'rollup-plugin-visualizer'; import laravel from 'laravel-vite-plugin';
Checked for any potential setup mistakes: Reviewed the package and sidecar documentation for any changes Searched for similar issues on GitHub and Stack Overflow. tried various configs