Skip to content

Commit

Permalink
add prettier-ignore for IIFE builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriechang committed Dec 18, 2024
1 parent ca6c4eb commit 90ee2c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/config/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const makeConfig = ({
plugins: [
externals({ deps: false }),
modify({
// prettier-ignore
find: /'__CITATIONS__'/g,
replace: JSON.stringify(citationData, null, 2),
}),
Expand All @@ -130,6 +131,7 @@ const makeConfig = ({
plugins: [
externals({ deps: false }),
modify({
// prettier-ignore
find: /'__CITATIONS__'/g,
replace: JSON.stringify(citationData, null, 2),
}),
Expand Down

0 comments on commit 90ee2c5

Please sign in to comment.