1.0.1 • Published 4 years ago

vue3-client-plugin v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

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()
    ]
})