{"library":"macross-bundler","title":"Macross Bundler","description":"Macross Bundler is a set of managed Webpack configuration scripts designed to simplify the build process for web applications. It abstracts away complex Webpack setups, providing a streamlined command-line interface for common tasks like starting a development server and building for production. The current stable version is 0.1.24, indicating it's still in early development, and API changes can be expected. Its primary differentiator lies in providing a highly opinionated and managed configuration experience, similar to tools like Create React App but with custom extensions, notably including specific configurations for CDN prefixes and backend proxies, which may suggest an origin or strong influence from enterprise environments like Rakuten. It requires Node.js >= 16 and has peer dependencies on Webpack >= 5 and React >= 16.","language":"javascript","status":"active","last_verified":"Thu Apr 23","install":{"commands":["npm install macross-bundler"],"cli":{"name":"macross","version":null}},"imports":["npx create-macross-app my-app\n# or use in package.json scripts:\n// \"start\": \"macross-bundler start\"\n// \"build\": \"macross-bundler build\"","// macross.config.js\nexport default {\n  entries: { 'index': './src/index.js' },\n  publicDir: './templates',\n  // ... other config options\n};","import type { MacrossConfig } from 'macross-bundler';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npx create-macross-app my-app\ncd my-app\nnpm install\n\n// macross.config.js (example configuration)\n// This file defines how your project is built.\nexport default {\n  entries: {\n    'index': './src/index.js',\n  },\n  publicDir: './templates',\n  outDir: '../resources/static',\n  templateOurDir: '../resources/templates',\n  cdnPrefixUrl: 'https://cdn.example.com', // Customize for your CDN\n  backendProxy: 'http://localhost:3000', // Proxy API requests in dev\n  devServerPort: 1234,\n};\n\nnpm run start\n// Open your browser to http://localhost:1234","lang":"typescript","description":"Demonstrates initializing a new project using `create-macross-app`, configuring `macross.config.js`, installing dependencies, and starting the development server.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}