You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
import{parse}from'nuejs-core/index.js'
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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