{"library":"esbuild-plugin-globals","type":"library","category":null,"description":"An esbuild plugin that replicates Webpack's externals functionality, allowing you to exclude certain modules from the bundle and replace them with global variables. Current stable version 0.2.0. It supports string patterns and RegExp with resolver functions for complex cases. Differs from native esbuild's 'external' by providing per-module global variable mapping, similar to Webpack's externals. Ships TypeScript declarations.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","esbuild","esbuild-plugin","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install esbuild-plugin-globals","imports":["import GlobalsPlugin from 'esbuild-plugin-globals'","const GlobalsPlugin = require('esbuild-plugin-globals').default","import GlobalsPlugin from 'esbuild-plugin-globals'"]},{"cmd":"yarn add esbuild-plugin-globals","imports":[]},{"cmd":"pnpm add esbuild-plugin-globals","imports":[]}],"homepage":null,"github":"https://github.com/a-b-r-o-w-n/esbuild-plugin-globals","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-globals","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}