Elderjs / elderjs

Elder.js is an opinionated static site generator and web framework for Svelte built with SEO in mind.

Home Page:https://elderguide.com/tech/elderjs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[from 1.4 to 1.5.2] build doesn't build, it act like dev mode without assets

kiuKisas opened this issue · comments

✦ ❯ yarn run build
yarn run v1.22.10
$ node ./src/cleanPublic.js && npm run build:rollup && npm run build:html
 Clearing out public folder.

> opo-website@2.0.0 build:rollup
> rollup -c

CSS file not found in /home/equinox/Programming/opo/website/public/_elderjs/assets
Elder.js using rollup in production mode.
[...]
created public/_elderjs/svelte in 8.7s
> Elder.js running on http://localhost:3000

localhost:3000: console (firefox):

....
GET http://localhost:3000/5017/1623418122-icon-tarifs.svg
....

@kiuKisas Fixed bad logic to check if rollup was in dev mode. Had || instead of &&.