create-mca
Version:
create-mc-addon Is A Package To Quickly Bootstrap A Development Enviroment For The Minecraft Bedrock Edition. To Get Started Just Run : ``` npx create-mca ```
13 lines (12 loc) • 369 B
JavaScript
import { DEPS_TO_INSTALL } from "../global.js";
/**
*
* @param {{ts : boolean, bundlerType : import("./types").BundlerType}} param0
*/
export function addBlundlerDeps({ ts, bundlerType }) {
if (ts) DEPS_TO_INSTALL.push("typescript")
switch (bundlerType) {
case "none": break;
case "esbuild": DEPS_TO_INSTALL.push("esbuild"); break;
}
}