"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("./utils");
function getLibDevConfig(paths) {
    const { libName, autoRequireTempPath, autoRequireMetaTempPath, outputPath, rootPath, srcPath, modulesPath, } = paths;
    const creator = utils_1.getConfigCreator(paths.webpackConfigMap.libDev);
    const params = {
        libName,
        context: rootPath,
        entry: {
            main: autoRequireTempPath,
            meta: autoRequireMetaTempPath,
        },
        output: {
            path: outputPath,
            filename: 'debug.[name].js',
            library: '@impage-materials-[name]-debug',
            libraryTarget: 'window',
            umdNamedDefine: true,
        },
        externals: {
            react: 'React',
            antd: 'Antd',
            'react-dom': 'ReactDom',
            'react-dom/server': 'ReactDomServer',
        },
        paths: {
            libSrcPath: srcPath,
            libModulesPath: modulesPath,
        },
        modules: [],
    };
    return creator(params);
}
exports.getLibDevConfig = getLibDevConfig;
//# sourceMappingURL=lib.dev.js.map