+ {% renderFile "./src/_includes/syntax-chooser-tablist.11ty.js", {id: tabid, only: "jsesm,jscjs"} %}
+
+
+```js
+export default function (eleventyConfig) {
+ // e.g. file.json and file.11tydata.json
+ eleventyConfig.setDataFileSuffixes([".11tydata", ""]);
+
+ // e.g. file.11tydata.json
+ eleventyConfig.setDataFileSuffixes([".11tydata"]);
+
+ // No data files are used.
+ eleventyConfig.setDataFileSuffixes([]);
+};
+```
+
+
+
+
+```js
+module.exports = function (eleventyConfig) {
+ // e.g. file.json and file.11tydata.json
+ eleventyConfig.setDataFileSuffixes([".11tydata", ""]);
+
+ // e.g. file.11tydata.json
+ eleventyConfig.setDataFileSuffixes([".11tydata"]);
+
+ // No data files are used.
+ eleventyConfig.setDataFileSuffixes([]);
+};
+```
+
+
+
+