{"library":"bf6-portal-bundler","type":"library","category":null,"description":"bf6-portal-bundler is a specialized utility designed for developers creating mods for Battlefield 6 Portal. It addresses the restrictive nature of the Portal runtime environment, which mandates that mods be uploaded as a single TypeScript file and a single strings JSON file, lacking support for external npm dependencies, multiple file imports, or module resolution at runtime. The bundler, currently at version 1.3.0, processes your mod's source code by traversing the dependency graph, resolving both local and `node_modules` imports, flattening all TypeScript files into one, merging multiple `strings.json` files, and removing all import statements. This ensures the output is compatible with the Portal runtime. It's primarily a CLI tool, focusing on build-time transformation rather than runtime logic. While no official release cadence is specified, updates typically align with community needs or underlying game changes.","language":"javascript","status":"active","version":"1.3.0","tags":["javascript","battlefield","battlefield-6","bf6","portal","typescript","bundler"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bf6-portal-bundler","imports":["npm install -D bf6-portal-bundler"]},{"cmd":"yarn add bf6-portal-bundler","imports":[]},{"cmd":"pnpm add bf6-portal-bundler","imports":[]}],"homepage":null,"github":"https://github.com/deluca-mike/bf6-portal-bundler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bf6-portal-bundler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bf6-portal-bundler/compatibility"}}