UNPKG

@lcap/nasl

Version:

NetEase Application Specific Language

14 lines 594 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.compileComponent = void 0; const styleReplacer_1 = require("./styleReplacer"); function compileComponent(options) { if (!options) return; options.template = options.template && (0, styleReplacer_1.replaceTemplate)(options.template, options.hash); options.style = options.style && (0, styleReplacer_1.replaceCSS)(options.style, options.hash); return options; } exports.compileComponent = compileComponent; exports.default = compileComponent; //# sourceMappingURL=compileComponent.js.map