UNPKG

@cloudcannon/suite

Version:

A suite of gulp tools to manage static sites on CloudCannon

49 lines (42 loc) 1.07 kB
--- title: Configuration package: Dev order_number: 3 config_options: - key: namespace use: Sets the namespace of the gulp commands (i.e. `gulp namespace:command`) - key: jekyll.src use: Sets the input folder for Jekyll - key: jekyll.dest use: Sets the output folder for dev build - key: flags use: Adds [flags](https://jekyllrb.com/docs/configuration/) to use with the Jekyll build command (e.g. "--drafts"). - key: tasks use: Adds additional tasks to be run before the Jekyll build. This is useful for reducing build time in Jekyll. - key: serve.port use: Specifies the port to serve the built site from. --- Below is the default configuration for the Dev package: ```js namespace: "dev", jekyll: { src: "src", dest: "dist/site" }, flags: [], tasks: [], serve: { port: 4000 } ``` ### Custom Configuration You can override these defaults by passing in options in your Gulpfile: ```js /* gulpfile.js */ suite.dev(gulp, { "jekyll": { "src": "/path/to/src/" } }); ``` {% include package-config.md %}