Skip to content

Commit 7a4836f

Browse files
committed
fix: add cssModuleExceptions as @param
1 parent 121295f commit 7a4836f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class ScratchWebpackConfigBuilder {
3838
* @param {string} [options.libraryName] The name of the library to build. Shorthand for `output.library.name`.
3939
* @param {string|URL} [options.srcPath] The absolute path to the source files. Defaults to `src` under `rootPath`.
4040
* @param {boolean} [options.shouldSplitChunks] Whether to enable spliting code to chunks.
41+
* @param {RegExp[]} [options.cssModuleExceptions] Optional array of regex rules that exclude matching CSS files from CSS module scoping.
4142
*/
4243
constructor ({ distPath, enableReact, enableTs, libraryName, rootPath, srcPath, publicPath = '/', shouldSplitChunks, cssModuleExceptions = [] }) {
4344
const isProduction = process.env.NODE_ENV === 'production';

0 commit comments

Comments
 (0)