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