add a new barebones config file, wip

This commit is contained in:
Lukas Juhas 2017-11-30 12:39:39 +00:00
parent 9d0e886edb
commit 5feb3a199c
2 changed files with 55 additions and 19 deletions

39
config.barebones.js Normal file
View file

@ -0,0 +1,39 @@
/**
* Base config
*
* src - main assets folder
* public - folder where assets should be compiled
*/
const config = {
src: './assets',
public: './',
};
/**
* Export configuration that is used in gulpfile
*
* For scripts and styles, each file will be a separate bundle
*
* base - base configuration
* scripts - array of script files to create bundles from
*/
export default {
/**
* Base
*/
base: config,
/**
* Scripts
*/
scripts: [
`${config.src}/scripts/scripts.js`,
],
/**
* Styles
*/
styles: [
`${config.src}/styles/*.scss`,
],
};