merge with josh

This commit is contained in:
Cherrie Chang 2024-10-23 11:04:41 -07:00
parent 1365dcc082
commit eace9bf393
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export default function generateCitation() {
})();
if (!citationCff) {
return JSON.stringify({ apa: "", bibtex: "" });
return { apa: "", bibtex: "" };
}
// Try to convert CITATION.cff to APA string

View File

@ -49,6 +49,7 @@ const makeConfig = ({
__APACITATION__: JSON.stringify(citationData.apa),
__BIBTEXCITATION__: JSON.stringify(citationData.bibtex),
},
loaders: { ".json": "json" },
};
/** @type{import("@rollup/plugin-commonjs").RollupCommonJSOptions} */
@ -106,7 +107,6 @@ const makeConfig = ({
plugins: [
externals({ deps: false }),
resolve({ preferBuiltins: false }),
json(),
commonjs(commonjsPluginOptions),
esbuild({ ...esBuildPluginOptions, target: "esnext" }),
],