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
Last piece needed for working with Sitelets using module-based JS. For local debug mode, for readability and quick iteration, it would be best if one-file-per-class readable .js files are used. However, browsers can't handle npm package imports as is, because it's underdefined (the packages-lock.json file and the node_modules folder are not accessible through the localhost server).
We need to provide either an import map or an integration for a localhost prebundler like Vite.
The text was updated successfully, but these errors were encountered:
Last piece needed for working with Sitelets using module-based JS. For local debug mode, for readability and quick iteration, it would be best if one-file-per-class readable .js files are used. However, browsers can't handle npm package imports as is, because it's underdefined (the
packages-lock.json
file and thenode_modules
folder are not accessible through the localhost server).We need to provide either an import map or an integration for a localhost prebundler like Vite.
The text was updated successfully, but these errors were encountered: