megazear7 / orison

A server and static site generator built on top of lit-html
http://orison.alexlockhart.me
18 stars 2 forks source link

Optional Build Path #1

Closed megazear7 closed 5 years ago

megazear7 commented 5 years ago

Add an optional path option to the build command that only builds a certain path under /src/pages.

Example:

npx orison build /some/path would only build pages at or under the /src/pages/some/path directory.

megazear7 commented 5 years ago

The --generatePath configuration has been added in commit 6ff9d4c0. With it you can specify a subtree of the /src/pages directory to build.

megazear7 commented 5 years ago

I realized that all the build files were still being deleted. This was fixed in two follow up commits:

  1. commit ca20e111
  2. commit 6663983