build-plugin-rax-app
Version:
The basic webpack configuration for rax project
21 lines • 725 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var debug_1 = __importDefault(require("debug"));
var util_1 = require("util");
var debug = (0, debug_1.default)('rax-app');
exports.default = (function (configs) {
try {
// Only executed when the debug mode is turned on
if (debug.enabled) {
// Print webpack configs for easy debugging
debug((0, util_1.inspect)(configs, { depth: 10, colors: true }));
}
}
catch (error) {
// ignore error
}
});
//# sourceMappingURL=logWebpackConfig.js.map