UNPKG

@lynx-js/template-webpack-plugin

Version:

Simplifies creation of Lynx template files to serve your webpack bundles

11 lines 431 B
// Copyright 2024 The Lynx Authors. All rights reserved. // Licensed under the Apache License Version 2.0 that can be found in the // LICENSE file in the root directory of this source tree. import * as CSS from '@lynx-js/css-serializer'; export function cssToAst(content, plugins) { const parsedCSS = CSS.parse(content, { plugins, }); return [parsedCSS.root, parsedCSS.errors]; } //# sourceMappingURL=ast.js.map