ericalli / static-site-boilerplate

A better workflow for building modern static websites.
http://staticsiteboilerplate.com
MIT License
1.74k stars 163 forks source link

Error "Option `sitemap` should be an absolute URL" when I run/build for production #39

Closed jeanryr closed 4 years ago

jeanryr commented 4 years ago

Hello,

When I run the production server (or when I build for production) I have a strange error:

ERROR in   Error: Child compilation failed:
  Option `sitemap` should be an absolute URL

I don't get where it comes from, I just added some JS and CSS files in webpack.config.js in the entry points.

Do you have any idea where it could come from?

Thanks a lot,

EDIT: My bad, it's just that site_url was empty