Skip to content

Commit b8d2551

Browse files
committed
fix: mark getCssModule and getCssDependency as public
1 parent e4f4c1e commit b8d2551

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const registered = new WeakSet();
8686

8787
class MiniCssExtractPlugin {
8888
/**
89-
* @private
89+
* @public
9090
* @param {Compiler["webpack"]} webpack
9191
* @returns {typeof CssModule}
9292
*/
@@ -346,7 +346,7 @@ class MiniCssExtractPlugin {
346346
}
347347

348348
/**
349-
* @private
349+
* @public
350350
* @param {Compiler["webpack"]} webpack
351351
* @returns {typeof CssDependency}
352352
*/

types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
export = MiniCssExtractPlugin;
22
declare class MiniCssExtractPlugin {
33
/**
4-
* @private
4+
* @public
55
* @param {Compiler["webpack"]} webpack
66
* @returns {typeof CssModule}
77
*/
88
private static getCssModule;
99
/**
10-
* @private
10+
* @public
1111
* @param {Compiler["webpack"]} webpack
1212
* @returns {typeof CssDependency}
1313
*/

0 commit comments

Comments
 (0)