@omni-door/tpl-ssr-react
Version:
The ssr-react project template
10 lines (9 loc) • 1.04 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tpl_postcss = void 0;
var utils_1 = require("@omni-door/utils");
var tpl = "`${use_strict}\n\nmodule.exports = {\n plugins: [\n // https://github.com/lkxian888/postcss-px-to-viewport-8-plugin\n [\n 'postcss-px-to-viewport-8-plugin',\n {\n viewportWidth: 375, // Viewport width (number).\n viewportHeight: 1334, // Viewport height (number).\n unitPrecision: 3, // Decimal precision (number).\n viewportUnit: 'vw', // Unit to convert to (string).\n fontViewportUnit: 'vw', // Font unit to convert to (string).\n selectorBlackList: ['.ignore', '.hairlines'], // Class names to exclude from conversion (array).\n minPixelValue: 1, // Minimum pixel value to convert (number).\n mediaQuery: false // Allow px conversion in media queries (true/false).\n }\n ]\n ]\n};\n`";
exports.tpl_postcss = {
tpl: tpl
};
exports.default = utils_1.tplEngineInit(exports.tpl_postcss, 'tpl');