UNPKG

@alicloud/console-toolkit-plugin-react

Version:

console toolkit plugin for base react app

10 lines (9 loc) 386 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.analyzerPlugin = void 0; var bundleAnalyzer = require("webpack-bundle-analyzer"); var utils_1 = require("../../utils"); function analyzerPlugin(config) { (0, utils_1.createPlugin)(config, 'BundleAnalyzerPlugin', bundleAnalyzer.BundleAnalyzerPlugin, {}); } exports.analyzerPlugin = analyzerPlugin;