Files
openfoodnetwork/app/webpacker/packs/application.js
Jean-Baptiste Bellet 66307c9277 cable_ready changed its Content-Type ; update the mrujs one as well
Thanks @marcoroth for the great debugging session! 🙏
2023-04-05 14:19:34 +10:00

20 lines
497 B
JavaScript

/* eslint no-console:0 */
import CableReady from "cable_ready";
import mrujs from "mrujs";
import { CableCar } from "mrujs/plugins";
import * as Turbo from "@hotwired/turbo";
window.Turbo = Turbo;
window.CableReady = CableReady;
mrujs.start({
plugins: [
new CableCar(CableReady, { mimeType: "text/vnd.cable-ready.json" }),
],
});
require.context("../fonts", true);
const images = require.context("../images", true);
const imagePath = (name) => images(name, true);
import "controllers";