-
-
Save nfq/fbd674f4849ad9fb10e326eef3a5ca54 to your computer and use it in GitHub Desktop.
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
/** | |
* Settings | |
* Turn on/off build features | |
*/ | |
const config = { | |
cleanBuild: true, | |
fonts: true, | |
graphics: true, | |
javascript: true, | |
styles: true, | |
reload: false, | |
revisions: true, | |
}; | |
/** | |
* Paths to project folders | |
*/ | |
const paths = { | |
default: { | |
source: 'craft/assets/', | |
reload: 'craft/assets/' | |
fonts: { | |
source: 'fonts/**/*', | |
build: 'fonts', | |
}, | |
graphics: { | |
source: 'graphics/**/*', | |
build: 'graphics', | |
}, | |
styles: { | |
source: 'stylesheets/less/', | |
build: 'css', | |
}, | |
scripts: { | |
source: 'js/*.js', | |
build: 'js', | |
}, | |
reload: 'craft/assets/' | |
}, | |
project1: { | |
source: 'craft/assets/', | |
build: 'craft/public/project-1.co/build/', | |
tmp: 'craft/public/project-1.co/tmp/', | |
port: '3000', | |
proxy: 'project-1.local', | |
host: 'project-1.local', | |
mainStylesheet: 'app.less', | |
}, | |
project2: { | |
source: 'craft/assets/', | |
build: 'craft/public/project-2.co/build/', | |
tmp: 'craft/public/project-2.co/tmp/', | |
port: '3000', | |
proxy: 'project-2.local', | |
host: 'project-2.local', | |
mainStylesheet: 'app.less', | |
}, | |
}; | |
module.exports = { | |
paths : paths, | |
config : config, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment