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
importhtmxfrom"htmx.org";// global HTMX configuration// https://htmx.org/docs/#confightmx.config.historyCacheSize=0;htmx.config.refreshOnHistoryMiss=false;htmx.config.scrollBehavior="smooth";htmx.config.scrollIntoViewOnBoost=false;htmx.config.useTemplateFragments=true;
In 2.0.0 this causes the following error:
TypeError: import_htmx.default.config is undefined
The workaround of course is to use the <meta> tag, but has this behavior changed in 2.0?
The text was updated successfully, but these errors were encountered:
I also tried the workaround described here for webpack: https://htmx.org/docs/#webpack however this did not work, same result (note: I'm using esbuild, not webpack).
This was working in 1.9x:
In 2.0.0 this causes the following error:
TypeError: import_htmx.default.config is undefined
The workaround of course is to use the
<meta>
tag, but has this behavior changed in 2.0?The text was updated successfully, but these errors were encountered: