UNPKG

just-scripts

Version:
13 lines 528 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.htmlOverlay = void 0; const tryRequire_1 = require("../../tryRequire"); // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types const htmlOverlay = (options) => { const HtmlWebpackPlugin = tryRequire_1.tryRequire('html-webpack-plugin'); return { plugins: [...(HtmlWebpackPlugin ? [new HtmlWebpackPlugin(options)] : [])], }; }; exports.htmlOverlay = htmlOverlay; //# sourceMappingURL=htmlOverlay.js.map