Skip to content

Commit

Permalink
fix: correctly name custom rollup plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
IcaroG committed Oct 31, 2024
1 parent 0e987be commit 6f6ccd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const injectVersion = (options = {}) => {

const addNavigatorValidation = (options = {}) => {
return {
name: 'inject-version',
name: 'add-navigator-validation',
renderChunk: (code) => {
return '(typeof navigator !== "undefined") && ' + code
},
Expand All @@ -23,7 +23,7 @@ const addNavigatorValidation = (options = {}) => {

const addDocumentValidation = (options = {}) => {
return {
name: 'inject-version',
name: 'add-document-validation',
renderChunk: (code) => {
return '(typeof document !== "undefined") && ' + code;
},
Expand Down

0 comments on commit 6f6ccd0

Please sign in to comment.