bigskysoftware / bigskysoftware/htmx

Unable to bundle htmx

Open
#3,485 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

I followed the directions here:
https://htmx.org/docs/#webpack

So now my app.js looks like this:

Image

While htmx is working, the hx-* attributes work, the htmx function is not initialized.

If I comment out the htmx section of my app.js and load it directly from CDN via a script tag it works as expected.

Any assistance, even pointing me to the part of the very fine manual I missed, would be appreciated!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.