colossal-controller-54041
10/20/2022, 4:45 PMimport Alpine from 'alpinejs';
import 'htmx.org';
import './custom';
window.Alpine = Alpine;
Alpine.start();
custom.js
window.htmx = require('htmx.org');
Errors that I'm getting
ERROR in ./src/scripts/custom.js 1:0-11
Module not found: Error: Can't resolve 'htmx' in 'D:\somefolder\src\scripts'
ERROR in ./src/scripts/custom.js
Cannot read property 'module' of undefined
webpack compiled with 2 errors