Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/bs / dist / scripts / development / dll / inject.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const webpack_1 = require("webpack");
const resolveToRoot_1 = require("../../../config/resolveToRoot");
const dllFileName = '__dev_vendor_dll__';
const distFolder = './dist/dist/bundled';
function inject(configName, config) {
    // Install the vendor DLL plugin.
    const manifestPath = resolveToRoot_1.resolveToRoot(`${distFolder}/${configName}/${dllFileName}.json`);
    // eslint-disable-next-line
    const manifest = require(manifestPath);
    const plugin = new webpack_1.DllReferencePlugin({ manifest });
    config.plugins.push(plugin);
}
exports.inject = inject;
//# sourceMappingURL=inject.js.map