Skip to content

0zd0/rollup-plugin-wordpress-dependency-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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,
        },
    }
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published