webpack-bundle-stats-plugin
Advanced tools
Comparing version 0.1.0 to 0.1.1
import { Compiler } from 'webpack'; | ||
import { PluginOptions } from './types/PluginOptions'; | ||
import { BundleStatsPluginOptions } from './types/BundleStatsPluginOptions'; | ||
export declare class BundleStatsPlugin { | ||
private options; | ||
constructor(options?: PluginOptions); | ||
constructor(options?: BundleStatsPluginOptions); | ||
apply(compiler: Compiler): void; | ||
} |
export { BundleStatsPlugin } from './BundleStatsPlugin'; | ||
export * from './types/BundleStats'; | ||
export * from './types/BundleStatsPluginOptions'; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -6,1 +20,3 @@ exports.BundleStatsPlugin = void 0; | ||
Object.defineProperty(exports, "BundleStatsPlugin", { enumerable: true, get: function () { return BundleStatsPlugin_1.BundleStatsPlugin; } }); | ||
__exportStar(require("./types/BundleStats"), exports); | ||
__exportStar(require("./types/BundleStatsPluginOptions"), exports); |
@@ -15,3 +15,2 @@ export interface BundleStats { | ||
} | ||
declare type ChunkId = string | number; | ||
export {}; | ||
export declare type ChunkId = string | number; |
{ | ||
"name": "webpack-bundle-stats-plugin", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Export internal bundling details from Webpack", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
6743
106