Skip to content

Instantly share code, notes, and snippets.

@craigsimps
Created May 18, 2018 12:20
Show Gist options
  • Save craigsimps/0bfb066be66d903bb49c8adea97084bc to your computer and use it in GitHub Desktop.
Save craigsimps/0bfb066be66d903bb49c8adea97084bc to your computer and use it in GitHub Desktop.
toolkit.extendConfig({
/* ... Shortening for brevity, other config would likely be here. */
css: {
scss: {
'style': { /* Override default options by adding 'style' to our config. */
outputStyle: 'expanded',
sourceMap: false
},
'woocommerce': { /* Output filename */
src: 'develop/scss/woocommerce.scss', /* Input file */
dest: 'css/', /* Output path. */
outputStyle: 'expanded', /* Set expanded output style. */
sourceMap: true
},
'edd': { /* Output filename */
src: 'develop/scss/edd.scss', /* Input file */
dest: 'css/', /* Output path. */
outputStyle: 'compressed', /* Set expanded output style. */
sourceMap: false
}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment