Does anyone know how to change the "dist"
folder for Zurb 6 to be the top level of the site, i.e. so the output would be the same level as "src"
?
In config.yml I have tried changing "dist"
to ""
but am not sure what else to try.
Thanks in advance
Reference Zurb Foundation 6:
File: config.yml
PATHS:
dist: "dist" // change this to new folder ROOT "./"
IMPORTANT:
File: gulpfile.babel.js
// Delete the "dist" folder
// This happens every time a build starts
function clean(done) {
rimraf(PATHS.dist, done);
}
So if you change to the PATHS.dist to ./ it will actually delete the whole project.
You DO NOT NEED to access ./src FROM dist/ as the ./src gets compiled to ./dist/assets.
Hope it helps