2023-02-02 16:36:17 +01:00
|
|
|
// Configure your import map in config/importmap.rb.
|
|
|
|
// Read more: https://github.com/rails/importmap-rails
|
2023-02-02 12:05:17 +01:00
|
|
|
|
2023-02-02 16:36:17 +01:00
|
|
|
// Currently haml filter does not support modules.
|
|
|
|
// import and make global as workaround
|
|
|
|
//
|
|
|
|
// haml module syntax is really clunky, filing issue and hoping
|
|
|
|
//
|
|
|
|
import GLightbox from 'glightbox';
|
|
|
|
globalThis.GLightbox = GLightbox;
|