lix-website/themes/lix/assets/bootstrap/node_modules/postcss-html/template-safe-parser.js
2024-04-26 22:49:34 -06:00

10 lines
321 B
JavaScript

"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;