Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
493 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
// Can't use modules because this is a bizarropackscript world | ||
module.exports = async function ReadmeLoader () { | ||
const {getImportedFeatures, getFeaturesMeta} = await import("./readme-parser.js"); | ||
async function ReadmeLoader() { | ||
const {getImportedFeatures, getFeaturesMeta} = await import('./readme-parser.js'); | ||
return ` | ||
export const importedFeatures = ${JSON.stringify(getImportedFeatures())}; | ||
export const featuresMeta = ${JSON.stringify(getFeaturesMeta())}; | ||
`; | ||
} | ||
|
||
module.exports = ReadmeLoader; |
Oops, something went wrong.