"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const base_1 = require("./base");
const nodeExternals = require('webpack-node-externals');
function getSchemaConfig(paths, libName) {
    const { tempPath, styleSchemaTempPath } = paths;
    const baseConfig = base_1.getBaseConfig(paths, libName);
    return Object.assign({}, baseConfig, { entry: styleSchemaTempPath, target: 'node', output: {
            path: tempPath,
            filename: 'styleSchema.js',
            libraryTarget: 'commonjs2',
        }, externals: [nodeExternals()] });
}
exports.getSchemaConfig = getSchemaConfig;
//# sourceMappingURL=schema.js.map