Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds config dependency #14

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

alexmigf
Copy link

@alexmigf alexmigf commented Dec 19, 2022

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 alexmigf mentioned this pull request Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

better configuration
1 participant