
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
@linjiajian999/esbuild-plugin-import
Advanced tools
Modularly import plugin for esbuild.
inspired by ant-design/babel-plugin-import
import { Button } from 'antd';
// 👇🏻 👇🏻 👇🏻 👇🏻 👇🏻 👇🏻 👇🏻 👇🏻 👇🏻 👇🏻 //
import 'antd/lib/button/style/css';
import Button from 'antd/lib/button';
npm install @linjiajian999/esbuild-plugin-import
export interface EsbuildPluginImportOption {
libraryName: string;
/**
* @default 'lib'
*/
libraryDirectory?: string;
style?:
| 'css'
| boolean
| ((importName: string, importPath: string) => string);
styleLibraryDirectory?: string;
customStyleName?: string;
/**
* @default true
*/
camel2DashComponentName?: boolean;
camel2UnderlineComponentName?: boolean;
/**
* @default true
*/
transformToDefaultImport?: boolean;
ignoreImports?: (RegExp | string)[];
}
todo
This project exists thanks to all the people who contribute.
FAQs
Modularly import plugin for esbuild.
The npm package @linjiajian999/esbuild-plugin-import receives a total of 699 weekly downloads. As such, @linjiajian999/esbuild-plugin-import popularity was classified as not popular.
We found that @linjiajian999/esbuild-plugin-import demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket investigates hidden protestware in npm packages that blocks user interaction and plays the Ukrainian anthem for Russian-language visitors.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.