rollup-plugin-webpack-stats
Advanced tools
Comparing version 1.0.0-beta.0 to 1.0.0-beta.1
import { Plugin, OutputOptions } from 'rollup'; | ||
import type { ExcludeFilepathOption } from './types'; | ||
import { BundleTransformOptions } from './transform'; | ||
import type { BundleTransformOptions } from './transform'; | ||
interface WebpackStatsOptions extends BundleTransformOptions { | ||
@@ -13,7 +12,7 @@ /** | ||
*/ | ||
excludeAssets?: ExcludeFilepathOption; | ||
excludeAssets?: BundleTransformOptions['excludeAssets']; | ||
/** | ||
* Exclude matching modules | ||
*/ | ||
excludeModules?: ExcludeFilepathOption; | ||
excludeModules?: BundleTransformOptions['excludeModules']; | ||
} | ||
@@ -20,0 +19,0 @@ type WebpackStatsOptionsOrBuilder = WebpackStatsOptions | ((outputOptions: OutputOptions) => WebpackStatsOptions); |
import type { OutputBundle } from 'rollup'; | ||
import type { ExcludeFilepathOption } from "./types"; | ||
import type { ExcludeFilepathOption } from './utils'; | ||
export type WebpackStatsFilteredAsset = { | ||
@@ -4,0 +4,0 @@ name: string; |
/// <reference types="node" /> | ||
import type { OutputChunk } from 'rollup'; | ||
import type { ExcludeFilepathOption } from './types'; | ||
/** | ||
@@ -13,2 +12,4 @@ * Get content byte size | ||
export declare function getChunkId(chunk: OutputChunk): string; | ||
type ExcludeFilepathParam = string | RegExp | ((filepath: string) => boolean); | ||
export type ExcludeFilepathOption = ExcludeFilepathParam | Array<ExcludeFilepathParam>; | ||
/** | ||
@@ -18,1 +19,2 @@ * Check if filepath should be excluded based on a config | ||
export declare function checkExcludeFilepath(filepath: string, option?: ExcludeFilepathOption): boolean; | ||
export {}; |
{ | ||
"name": "rollup-plugin-webpack-stats", | ||
"version": "1.0.0-beta.0", | ||
"version": "1.0.0-beta.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18653
230