UNPKG

build-plugin-rax-app

Version:

The basic webpack configuration for rax project

22 lines 753 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var setupDev_1 = __importDefault(require("./setupDev")); var setupBuild_1 = __importDefault(require("./setupBuild")); var setupTest_1 = __importDefault(require("./setupTest")); function setupLaunch(api) { var command = api.context.command; if (command === 'start') { (0, setupDev_1.default)(api); } if (command === 'build') { (0, setupBuild_1.default)(api); } if (command === 'test') { (0, setupTest_1.default)(api); } } exports.default = setupLaunch; //# sourceMappingURL=index.js.map