@nfrasser/simple-html-tokenizer
Version:
Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates.
25 lines (21 loc) • 503 B
JavaScript
const entities = require('./codegen/entities');
const codegen = require('./codegen');
const path = require('path');
module.exports = {
name: 'build-char-refs',
works: 'insideProject',
description: 'Rebuild "html5-named-char-refs"',
availableOptions: [],
run() {
return codegen(
this.ui,
'w3c',
'html',
'master',
'entities.json',
path.join(this.project.root, 'src', 'generated', 'html5-named-char-refs.ts'),
entities
);
}
};
;