Initialization fix #125
tipiirai
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Fixed an issue on initialization where the browser assets were not correctly found when building the website. This now works with Bun builder and esbuild, and on development mode and production/minified build.
NOTE: if you are using the Nue JS package as standalone library on the server side you must import the module with "nuejs-core/index.js" instead of plain "nuejs-core". For example
This was due to Bun Builder limitation to not support the "browser" property in package.json. This why the "main" property was changed to primarily support building for browser and secondarily to support server-side stuff. Hoping that Bun will add "browser" support to package.json soon.
This discussion was created from the release Initialization fix.
Beta Was this translation helpful? Give feedback.
All reactions