Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
712 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { Compiler } from 'webpack';
|
---|
9 | export interface CommonJsUsageWarnPluginOptions {
|
---|
10 | /** A list of CommonJS packages that are allowed to be used without a warning. */
|
---|
11 | allowedDependencies?: string[];
|
---|
12 | }
|
---|
13 | export declare class CommonJsUsageWarnPlugin {
|
---|
14 | private options;
|
---|
15 | private shownWarnings;
|
---|
16 | private allowedDependencies;
|
---|
17 | constructor(options?: CommonJsUsageWarnPluginOptions);
|
---|
18 | apply(compiler: Compiler): void;
|
---|
19 | private hasCommonJsDependencies;
|
---|
20 | private rawRequestToPackageName;
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.