-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Buffers are not stringified before passed to the archive. The archiver handles Buffers just fine. Fixed a typo in .gitignore Pass ncc options in the same object instead of as a separate argument.
- Loading branch information
Showing
4 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import zeitNcc from '@zeit/ncc'; | ||
|
||
export default async function compile({ inputFilePath }: { inputFilePath: string }, opts: any) { | ||
return zeitNcc(inputFilePath, { minify: false, ...opts }); | ||
export default async function compile({ inputFilePath, ...options }: { inputFilePath: string, [key: string]: any }) { | ||
return zeitNcc(inputFilePath, { minify: false, ...options }); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters