Skip to content
Snippets Groups Projects
Commit 96aa6702 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Allow more params to be passed

parent 221a43a1
No related branches found
No related tags found
No related merge requests found
Pipeline #16401 passed with stage
in 1 minute and 46 seconds
......@@ -17,7 +17,8 @@ module.exports = {
fractal.components.set('path', vfComponentPath);
/* Tell Fractal where the documentation pages will live */
fractal.docs.set('path', __dirname + '/docs');
var vfDocsPath = global.vfDocsPath || __dirname + '/docs';
fractal.docs.set('path', vfDocsPath);
const nunj = require('@frctl/nunjucks')({
env: {
......@@ -60,7 +61,8 @@ module.exports = {
fractal.components.set('default.preview', `@preview`);
/* build destination */
fractal.web.set('builder.dest', __dirname + '/build');
var vfBuilderPath = global.vfBuilderPath || __dirname + '/build';
fractal.web.set('builder.dest', vfBuilderPath);
/* configure web */
fractal.web.set('static.path', __dirname + '/public');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment