Skip to content

Commit

Permalink
build: fix type def files search path (#225)
Browse files Browse the repository at this point in the history
This commit fixes the search path for type definition files
of the build task which otherwise occasionally results in a
build error (reported on Windows and OSX).
juristr authored and MikeRyanDev committed Aug 1, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1df963c commit c79853b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/tasks.ts
Original file line number Diff line number Diff line change
@@ -158,7 +158,7 @@ export async function removeRemainingSourceMapFiles(config: Config) {
export async function copyTypeDefinitionFiles(config: Config) {
const packages = util.getTopLevelPackages(config);
const files = await util.getListOfFiles(
`./dist/packages/?(${packages.join('|')})/**/*`
`./dist/packages/?(${packages.join('|')})/**/*.*`
);

await mapAsync(files, async file => {

0 comments on commit c79853b

Please sign in to comment.