pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

Find a way for themes to require() dependencies #113

Closed pixelastic closed 3 years ago

pixelastic commented 3 years ago

Currently, the norska-theme-slides has a dependency on highlight.js, but when building the app from the host, the dependency is not found. I assume this is because it's looking for the dependency in the host directly.

Maybe it's a quirky artefact of me developing through yarn link and it will be fixed once I release, but for now I'm going to load the dependency in the front-end through a CDN instead.

pixelastic commented 3 years ago

Actually, this was a non-issue. Things were actually working as expected, it was only the specific library (highlight.js) that had changed the name of the main entrypoint