Skip to content

Commit 6b9c250

Browse files
committed
[fixed] Fix for bug 547 in tools/release.
Conversation is here react-bootstrap#547. Idea for this patch totally belongs to @mtscout6. I have just tested it and made PR.
1 parent 22e0da1 commit 6b9c250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import lib from './lib/build';
77
import docs from '../docs/build';
88
import dist from './dist/build';
99
import { copy } from './fs-utils';
10-
import { setExecOptions } from './exec';
10+
import { exec, setExecOptions } from './exec';
1111

1212
import yargs from 'yargs';
1313

@@ -37,7 +37,7 @@ export default function Build(noExitOnFailure) {
3737
lib(),
3838
bower(),
3939
dist(),
40-
docs()
40+
exec(`npm run docs-build`)
4141
])
4242
.then(() => copy(distFolder, amdFolder));
4343

0 commit comments

Comments
 (0)