{"library":"metal-tools-build-rollup","title":"Metal Tools Build Rollup","description":"Build tool for transpiling and bundling Metal.js ES6 JavaScript files using Rollup. Version 2.0.6 is the latest stable release for the deprecated Metal.js framework. It leverages Rollup's tree-shaking and module bundling to produce optimized browser-compatible bundles. Key differentiators: designed specifically for Metal.js ecosystem, supports global variable generation for browser globals, and integrates with other Metal build tools. However, Metal.js is no longer actively maintained; users should consider migrating to modern frameworks. The package has low maintenance cadence and limited documentation.","language":"javascript","status":"deprecated","last_verified":"Mon Apr 27","install":{"commands":["npm install metal-tools-build-rollup"],"cli":{"name":"metal-rollup","version":null}},"imports":["import build from 'metal-tools-build-rollup'","import * as metalBuild from 'metal-tools-build-rollup'","const build = (await import('metal-tools-build-rollup')).default"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import build from 'metal-tools-build-rollup';\nimport path from 'path';\n\nconst config = {\n  entry: path.resolve('src/index.js'),\n  dest: path.resolve('build/bundle.js'),\n  format: 'iife',\n  moduleName: 'MyApp',\n  globalName: 'myApp',\n  sourceMap: true\n};\n\nbuild(config).then(() => {\n  console.log('Build complete');\n}).catch(err => {\n  console.error('Build failed:', err);\n});","lang":"javascript","description":"Build a Metal.js ES6 file into an IIFE bundle with Rollup.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}