lix-website/themes/lix/assets/bootstrap/node_modules/postcss-html/template-safe-parser.js

10 lines
321 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
"use strict";
const SafeParser = require("postcss-safe-parser/lib/safe-parser");
const templateTokenize = require("./template-tokenize");
class TemplateSafeParser extends SafeParser {
createTokenizer () {
this.tokenizer = templateTokenize(this.input, { ignoreErrors: true });
}
}
module.exports = TemplateSafeParser;