rspack-plugin-mpa
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

rspack-plugin-mpa

Install

pnpm install rspack-plugin-mpa

Usage

Example

const { default: MpaPlugin } = require('rspack-plugin-mpa')

module.exports = {
  // ...
  plugins: [
        new MpaPlugin({
            pages: {
                app1: {
                    entry: './src/app/app1/main',
                    title: 'Rspack Plugin Mpa',
                    minify:true
                },
                app2: {
                    entry: './src/app/app2/main',
                    title: 'Rspack Plugin Mpa',
                    minify:true
                }
            }
        })
    ]
}

Config

For more configurations, please refer to @rspack/plugin-html

Readme

Keywords

Package Sidebar

Install

npm i rspack-plugin-mpa

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

3.95 MB

Total Files

5

Last publish

Collaborators

  • yzydeveloper