Welcome to mirror list, hosted at ThFree Co, Russian Federation.

template-parse.js « postcss-html « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 51b3b7d23c418ec962323c464598589aa86dc103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";

const TemplateParser = require("./template-parser");
const Input = require("postcss/lib/input");

function templateParse (css, opts) {
	const input = new Input(css, opts);

	const parser = new TemplateParser(input);
	parser.parse();

	return parser.root;
}
module.exports = templateParse;