Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 55c6b12

Browse filesBrowse files
fix: fix mini-css-extract-plugin missing default export error (vuejs#1749)
Default exports should only be used for CSS modules.
1 parent 859a45d commit 55c6b12
Copy full SHA for 55c6b12

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎src/pitcher.ts

Copy file name to clipboardExpand all lines: src/pitcher.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ export const pitch = function () {
6868
const beforeLoaders = loaders.slice(cssLoaderIndex + 1)
6969
return genProxyModule(
7070
[...afterLoaders, stylePostLoaderPath, ...beforeLoaders],
71-
context
71+
context,
72+
!! query.module
7273
)
7374
}
7475
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.