mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
342 B
TypeScript
12 lines
342 B
TypeScript
import webpack = require('webpack');
|
|
|
|
/**
|
|
* This Webpack plugin ensures that relative imports from app's source
|
|
* directories don't reach outside of it.
|
|
*/
|
|
declare class ModuleScopePlugin extends webpack.Plugin {
|
|
constructor(appSrc: string | ReadonlyArray<string>, allowedFiles?: ReadonlyArray<string>);
|
|
}
|
|
|
|
export = ModuleScopePlugin;
|