Closed Ajedi32 closed 8 years ago
Make this work:
metafile({ prefix: "", postfix: ".meta", deleteMetaFiles: true, parsers: { ".cson": false, // Disable ".json": true, // Enable ".yaml": "js-yaml", // Specify parser ".toml": { "parser": "toml-node", // Override global attributes "postfix": "", "prefix": "meta-", "deleteMetaFiles": false }, ".js": function(content) { return eval(content); } // Custom parser } });
Almost done. All there is to do now is add CSON and TOML support.
The example above now works! (Except that the toml parser is just called toml.) Closing.
toml
Make this work: