Skip to content

Commit

Permalink
fix: remove restrictions: [/\.css$/i] from resolver configuration
Browse files Browse the repository at this point in the history
Fixes webpack-contrib#1164.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Aug 12, 2020
1 parent 33e7879 commit 779a022
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Expand Up @@ -65,7 +65,6 @@ export default async function loader(content, map, meta) {
extensions: ['.css'],
mainFields: ['css', 'style', 'main', '...'],
mainFiles: ['index', '...'],
restrictions: [/\.css$/i],
});

plugins.push(
Expand Down

0 comments on commit 779a022

Please sign in to comment.