@alleyinteractive/build-tool
Version:
An opinionated set of build configurations for wp-scripts
19 lines • 941 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable import/no-extraneous-dependencies */
const deep_extend_1 = __importDefault(require("deep-extend"));
const webpack_config_1 = __importDefault(require("./webpack.config"));
const utils_1 = require("../utils");
/**
* This file is the last step in the webpack config generation process.
* It takes the default config (extended from wp-scripts config) found in ./webpack.config.ts
* and extends it with the user's config here with deepExtend.
*
* The config path to this built file is passed to webpack as the --config flag.
*/
(0, deep_extend_1.default)(webpack_config_1.default, (0, utils_1.getUserWebpackConfig)());
exports.default = webpack_config_1.default;
//# sourceMappingURL=extended.config.js.map