Skip to content

Commit 779a022

Browse files
committed
fix: remove restrictions: [/\.css$/i] from resolver configuration
Fixes webpack-contrib#1164. Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 33e7879 commit 779a022

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export default async function loader(content, map, meta) {
6565
extensions: ['.css'],
6666
mainFields: ['css', 'style', 'main', '...'],
6767
mainFiles: ['index', '...'],
68-
restrictions: [/\.css$/i],
6968
});
7069

7170
plugins.push(

0 commit comments

Comments
 (0)