UNPKG

@anoki/fse-ui

Version:

FSE UI components library

27 lines (26 loc) 1.01 kB
import { __require as h } from "./index.es687.js"; import { __require as m } from "./index.es692.js"; import { __require as d } from "./index.es711.js"; var t, i; function _() { if (i) return t; i = 1; let n = h(), o = m(), u = d(); function s(p, r) { let f = new o(p, r), a = new u(f); try { a.parse(); } catch (e) { throw process.env.NODE_ENV !== "production" && e.name === "CssSyntaxError" && r && r.from && (/\.scss$/i.test(r.from) ? e.message += ` You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser` : /\.sass/i.test(r.from) ? e.message += ` You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser` : /\.less$/i.test(r.from) && (e.message += ` You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)), e; } return a.root; } return t = s, s.default = s, n.registerParse(s), t; } export { _ as __require }; //# sourceMappingURL=index.es696.js.map