🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

atomizer-plugins

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atomizer-plugins

Atomizer plugins for esbuild, Rollup, Vite and Webpack

1.2.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

atomizer-plugins

Atomizer plugins for esbuild, Rollup, Vite and Webpack. This library leverages the unplugin unified plugin system.

Installation

npm i atomizer-plugins

Follow the usage section below depending on the library your project uses.

Usage

See the Options definition for the available options that each plugin accepts.

You can find a running example of each plugin in the examples/ directory.

esbuild

// esbuild.config.js
import { build } from 'esbuild';
import { esbuild } from 'atomizer-plugins';

const atomizer = rollup({
    /* options */
    config: atomizerConfig,
});

build({
    // ... esbuild config
    plugins: [atomizer],
});

rollup

// rollup.config.js
import { rollup } from 'atomizer-plugins';

const atomizer = rollup({
    /* options */
    config: atomizerConfig,
});

export default {
    // ... rollup config
    plugins: [atomizer],
};

vite

// vite.config.ts
import { vite } from 'atomizer-plugins';

const atomizerPlugin = vite({
    config: atomizerConfig,
});

export default defineConfig(() => {
    return {
        plugins: [atomizerPlugin],
    };
});

webpack

// webpack.config.js
import { webpack } from 'atomizer-plugins';

const atomizer = webpack({
    /* options */
    config: atomizerConfig,
});

export default {
    // ... webpack config
    plugins: [atomizer],
};

Keywords

atomizer

FAQs

Package last updated on 06 Dec 2022

Did you know?

Socket

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.

Install

Related posts