rollup-plugin-wordpress-dependency-extraction
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

rollup-plugin-wordpress-dependency-extraction

Installation

Install the plugin

bun install rollup-plugin-wordpress-dependency-extraction --save-dev

Vite

export default defineConfig(({ mode }) => {
    return {
        plugins: [
            react(),
            wpDependencyExtraction(),
        ],
        build: {
            manifest: true,
            rollupOptions: {
                output: {
                    format: 'iife',
                },
            },
        },
        esbuild: {
            minifyIdentifiers: false,
        },
    }
})

/rollup-plugin-wordpress-dependency-extraction/

    Package Sidebar

    Install

    npm i rollup-plugin-wordpress-dependency-extraction

    Weekly Downloads

    2

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    4.26 kB

    Total Files

    4

    Last publish

    Collaborators

    • 0zd0