1.0.5 • Published 3 years ago

output-compile-time-webpack-plugin v1.0.5

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

output-compile-time-webpack-plugin

npm version

1、安装

yarn add output-compile-time-webpack-plugin --dev

2、使用

// webpack.config.js

const OutputCompileTimeWebpackPlugin = require('output-compile-time-webpack-plugin')
module.exports = {
    // ... 省略其他配置
    plugins: [
        // ... 省略其他插件
        new OutputCompileTimeWebpackPlugin()
    ]
}
// vue.config.js
module.exports = {
    // ... 省略其他配置
    configureWebpack: config => {
        // 用cdn方式引入
        // ... 省略其他配置
        const plugins = [
            // ... 省略其他插件
            new OutputCompileTimeWebpackPlugin()
        ]
        config.plugins.push(...plugins)
    }
}
1.0.1

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago