-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow passing options to rollupjs dynamic import vars plugin (#…
- Loading branch information
Richard Petersen
authored
Jun 29, 2021
1 parent
b3a2139
commit 5507b4c
Showing
4 changed files
with
35 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export interface RollupDynamicImportVarsOptions { | ||
/** | ||
* Files to include in this plugin (default all). | ||
* @default [] | ||
*/ | ||
include?: string | RegExp | (string | RegExp)[] | ||
/** | ||
* Files to exclude in this plugin (default none). | ||
* @default [] | ||
*/ | ||
exclude?: string | RegExp | (string | RegExp)[] | ||
/** | ||
* By default, the plugin quits the build process when it encounters an error. If you set this option to true, it will throw a warning instead and leave the code untouched. | ||
* @default false | ||
*/ | ||
warnOnError?: boolean | ||
} |