mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
fix: suppress harmless esbuild warnings from bundled plugin deps
Add logOverride to the main esbuild build context to silence three warning types that originate from upstream third-party code bundled inside plugin dist files: - direct-eval: gray-matter's JS frontmatter engine in note-properties - equals-negative-zero: webidl-conversions in citations - duplicate-object-key: BibTeX month mapping in citations
This commit is contained in:
parent
d792d8ebf9
commit
02488d07b2
@ -341,6 +341,11 @@ export async function handleBuild(argv) {
|
||||
metafile: true,
|
||||
sourcemap: true,
|
||||
sourcesContent: false,
|
||||
logOverride: {
|
||||
"direct-eval": "silent",
|
||||
"equals-negative-zero": "silent",
|
||||
"duplicate-object-key": "silent",
|
||||
},
|
||||
plugins: [
|
||||
sassPlugin({
|
||||
type: "css-text",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user