rspack-plugin-mpa
v0.1.1
Published
Mpa plugin for rspack
Downloads
2
Readme
rspack-plugin-mpa
Install
pnpm install rspack-plugin-mpa
Usage
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