vue3-client-plugin
v1.0.1
Published
Client plugin for client manifest creation
Downloads
4
Maintainers
Readme
Installation
npm i --save-dev vue3-client-plugin
Features
- webpack 5
- vue3
- source-map
Usage
const merge = require('webpack-merge')
const nodeExternals = require('webpack-node-externals')
const baseConfig = require('./webpack.base.config.js')
const Vue3SSRClientPlugin = require('vue3-client-plugin')
module.exports = merge(baseConfig, {
entry: '/path/to/entry-client.js',
plugins: [
new webpack.optimize.CommonsChunkPlugin({
name: "manifest",
minChunks: Infinity
}),
new Vue3SSRClientPlugin()
]
})