mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
merge with josh
This commit is contained in:
parent
1365dcc082
commit
eace9bf393
@ -29,7 +29,7 @@ export default function generateCitation() {
|
|||||||
})();
|
})();
|
||||||
|
|
||||||
if (!citationCff) {
|
if (!citationCff) {
|
||||||
return JSON.stringify({ apa: "", bibtex: "" });
|
return { apa: "", bibtex: "" };
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to convert CITATION.cff to APA string
|
// Try to convert CITATION.cff to APA string
|
||||||
|
@ -49,6 +49,7 @@ const makeConfig = ({
|
|||||||
__APACITATION__: JSON.stringify(citationData.apa),
|
__APACITATION__: JSON.stringify(citationData.apa),
|
||||||
__BIBTEXCITATION__: JSON.stringify(citationData.bibtex),
|
__BIBTEXCITATION__: JSON.stringify(citationData.bibtex),
|
||||||
},
|
},
|
||||||
|
loaders: { ".json": "json" },
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @type{import("@rollup/plugin-commonjs").RollupCommonJSOptions} */
|
/** @type{import("@rollup/plugin-commonjs").RollupCommonJSOptions} */
|
||||||
@ -106,7 +107,6 @@ const makeConfig = ({
|
|||||||
plugins: [
|
plugins: [
|
||||||
externals({ deps: false }),
|
externals({ deps: false }),
|
||||||
resolve({ preferBuiltins: false }),
|
resolve({ preferBuiltins: false }),
|
||||||
json(),
|
|
||||||
commonjs(commonjsPluginOptions),
|
commonjs(commonjsPluginOptions),
|
||||||
esbuild({ ...esBuildPluginOptions, target: "esnext" }),
|
esbuild({ ...esBuildPluginOptions, target: "esnext" }),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user