Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Fix: Arguments for js-only and sass-only need to be camel case for so…
Browse files Browse the repository at this point in the history
…me reason

 🐿 v2.7.0
  • Loading branch information
Braimbridge, Adam authored and Braimbridge, Adam committed Jan 31, 2018
1 parent 0bac1f1 commit 786116d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/app/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ program

const script = './node_modules/@financial-times/n-ui/scripts/build-sass.sh';
const commands = {
'js-only': `'webpack --bail --config ${webpackConfPath} ${options.production ? '-p' : ''}'`,
'sass-only': cssEntryPoints.map(([target, entry]) => `'${script} ${entry} ${target}'`).join(' ')
'jsOnly': `'webpack --bail --config ${webpackConfPath} ${options.production ? '-p' : ''}'`,
'sassOnly': cssEntryPoints.map(([target, entry]) => `'${script} ${entry} ${target}'`).join(' ')
};

for(let key in commands) {
Expand Down

0 comments on commit 786116d

Please sign in to comment.