Skip to content

Commit

Permalink
fix ignore option not working when empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
zation authored Sep 23, 2023
1 parent d6eb0da commit 75cd559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = function vitePluginAliOss (options) {
dot: true,
ignore:
// custom ignore
options.ignore ? options.ignore :
options.ignore !== undefined ? options.ignore :
// ssr client ignore
ssrClient ? ['**/ssr-manifest.json', '**/*.html'] :
// ssr server ignore
Expand Down

0 comments on commit 75cd559

Please sign in to comment.