app/assets/lookbook/js/lookbook.js in lookbook-1.0.8 vs app/assets/lookbook/js/lookbook.js in lookbook-1.1.0

- old
+ new

@@ -17,11 +17,11 @@ import app from "./app"; // Note: A ParcelJS issue prevents loading all depths of component JS files in one glob, // so need to split it up. Path aliases also do not work with the glob imports. import { getComponents } from "./helpers/build"; -import * as components from "../../../components/lookbook/*/component.js"; +import * as components from "../../../components/lookbook/*/*component.js"; import * as subComponents from "../../../components/lookbook/*/*/component.js"; import * as jsComponents from "./components/*.js"; // Plugins @@ -48,9 +48,10 @@ Alpine.data("app", app); [components, subComponents, jsComponents].forEach((scripts) => { const components = getComponents(scripts); Object.keys(components).forEach((name) => { + console.log(name); Alpine.data(`${name}Component`, components[name]); }); }); // Init