This repository has been archived by the owner on Apr 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add grunt-generator to INIT and default config
This is a WIP implementation and might not yet work as expected. Please test, add configuration details while still in the feature branch. Targets #123.
- Loading branch information
Showing
4 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Static Site Generator | ||
*/ | ||
'use strict'; | ||
|
||
var config = require('../config'); | ||
|
||
module.exports = { | ||
dev: { | ||
files: [{ | ||
cwd: config.generator.files.cwd, | ||
src: config.generator.files.src, | ||
dest: config.generator.files.dest, | ||
ext: config.generator.files.ext | ||
}], | ||
options: { | ||
partialsglob: config.generator.options.partialsglob, | ||
templates: config.generator.options.templates, | ||
environment: config.generator.options.environment | ||
} | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters