{"repo":"adambrgmn/wp-bundler","free":true,"listed":false,"github":"https://github.com/adambrgmn/wp-bundler","clone":"git clone https://github.com/adambrgmn/wp-bundler.git","description":"A minimal and fast bundler for your WordPress front end assets.","language":"TypeScript","stars":16,"topics":["wordpress","esbuild","bundler"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"WP Bundler WP Bundler is a minimal and fast bundler for your WordPress front end assets. It is a \"thin\" wrapper around esbuild with built-in support for translations. It handles all of your front end assets including Javascript (with Typescript and React support), CSS and other static assets imported in these, e.g. images and fonts. It will output modern Javascript for modern browsers as well as a \"legacy\" version of your scripts for older browsers meaning that you will not send unneccessary content to modern browsers, while keeping the same functionality for older browsers as well. - Installation - Cli - Configuration - BundlerConfig.entryPoints (required) - BundlerConfig.outdir (optional) - BundlerConfig.sourcemap (optional) - BundlerConfig.externals (optional) - BundlerConfig.assetLoader (optional) - BundlerConfig.translations (optional) - Development - Asset types - Javascript and Typescript - CSS - CSS modules - Asset loader - Usage - External dependencies - Translations - PHP and Twig translations - Environment variables - Other injected variables - Other .env files - Other WordPress focused bundlers - LICENSE Installation Install the bundler locally as a dependency of you theme or plugin. Then configure the scripts in your package.json . Cli Configuration There are three places in which you can configure wp-bundler . Either in your projects package.json under the property \"wp-bundler\" , or in any of the files .wp-bundlerrc and wp-bundler.config.json . Below is an examp","default_branch":null,"files":null,"tree":[],"storefront":"/r/adambrgmn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adambrgmn/wp-bundler/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}