diff --git a/tools/build.js b/tools/build.js index aa0d5c85e6..b9fe61f7ae 100644 --- a/tools/build.js +++ b/tools/build.js @@ -7,7 +7,7 @@ import lib from './lib/build'; import docs from '../docs/build'; import dist from './dist/build'; import { copy } from './fs-utils'; -import { setExecOptions } from './exec'; +import { exec, setExecOptions } from './exec'; import yargs from 'yargs'; @@ -37,7 +37,7 @@ export default function Build(noExitOnFailure) { lib(), bower(), dist(), - docs() + exec(`npm run docs-build`) ]) .then(() => copy(distFolder, amdFolder));