{"library":"parcel-bundler-vue","title":"Parcel","description":"Parcel is a zero-configuration web application bundler with a focus on speed. Current stable version is v2.16.4 (as of release notes). It features multicore compilation, filesystem caching, and automatic transpilation (Babel, PostCSS, PostHTML) without plugins. It supports code splitting via dynamic import, hot module replacement, and includes a development server. Parcel differentiates itself from Webpack and Browserify by requiring no configuration for most projects. It is actively maintained with frequent releases (multiple minor versions per year). It uses Rust-based transformers for HTML/SVG as of v2.15.0.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install parcel-bundler-vue"],"cli":{"name":"parcel","version":null}},"imports":["import Parcel from 'parcel-bundler'","import type { BundleResult } from 'parcel-bundler'","import type { ParcelOptions } from 'parcel-bundler'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const Parcel = require('parcel-bundler');\nconst path = require('path');\n\n// Single entry point\nconst file = path.join(__dirname, 'index.html');\n\n// Initialize bundler using a file path and options\nconst bundler = new Parcel(file, {\n  outDir: './dist',\n  publicUrl: './',\n  watch: false,\n  cache: true,\n  cacheDir: '.cache',\n  contentHash: true,\n  global: 'myModule',\n  minify: false,\n  scopeHoist: false,\n  target: 'browser',\n  bundleNodeModules: false,\n  logLevel: 3,\n  hmr: false,\n  hmrHostname: '',\n  hmrPort: 0,\n  sourceMaps: false,\n  detailedReport: false,\n  autoinstall: false,\n});\n\nbundler.bundle().then(() => console.log('Build complete!'));","lang":"javascript","description":"Basic usage of Parcel bundler: create a bundler instance for an HTML entry point and run a build programmatically.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}