mini-SSG icon indicating copy to clipboard operation
mini-SSG copied to clipboard

Adds config dependency

Open alexmigf opened this issue 2 years ago • 0 comments

This PR adds a configuration dependency to allow customization of the project directory paths.

Create the configuration file in the project directory

$ mkdir config
$ cd config
$ touch default.js

Add the custom configurations

{
	"dir": {
		"dev": {
			"root": "./dev",
			"static": "./dev/static",
			"pages" : "./dev/pages",
			"layout" : "./dev/_layouts",
			"import" : "./dev/_imports",
			"component" : "./dev/_components"
		},
		"public": "./www"
	}
}

closes #13

alexmigf avatar Dec 19 '22 22:12 alexmigf