1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00
Files
locomotive-boilerplate/assets/scripts/globals.js
Chauncey McAskill c434d0843f Remove svg4everybody
2025-01-07 13:17:41 -05:00

18 lines
355 B
JavaScript

import { ENV } from './config';
// Dynamic imports for development mode only
let gridHelper;
(async () => {
if (ENV.IS_DEV) {
const gridHelperModule = await import('./utils/grid-helper');
gridHelper = gridHelperModule?.gridHelper;
}
})();
export default function () {
/**
* Add grid helper
*/
gridHelper?.();
}