* Automatically load plugins from package.json * Fix build by adding json extension * Fixup misuse of options argument * Rewire graceful-fs to fs * Document graceful-fs issue * Alias graceful-fs to fs in Rollup
24 lines
364 B
JavaScript
24 lines
364 B
JavaScript
"use strict";
|
|
|
|
const concat = require("../../../../../src/doc").builders.concat;
|
|
|
|
module.exports = {
|
|
languages: [
|
|
{
|
|
name: "bar",
|
|
parsers: ["bar"]
|
|
}
|
|
],
|
|
parsers: {
|
|
bar: {
|
|
parse: text => ({ text }),
|
|
astFormat: "bar"
|
|
}
|
|
},
|
|
printers: {
|
|
bar: {
|
|
print: path => concat(["bar+", path.getValue().text])
|
|
}
|
|
}
|
|
};
|