We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c7f5b commit c92c8adCopy full SHA for c92c8ad
packages/react-error-overlay/webpack.config.iframe.js
@@ -21,22 +21,7 @@ module.exports = {
21
test: /\.js$/,
22
include: [
23
path.resolve(__dirname, './src'),
24
- path.dirname(
25
- require.resolve('chalk', {
26
- paths: [path.dirname(require.resolve('@babel/code-frame'))],
27
- })
28
- ),
29
30
- require.resolve('ansi-styles', {
31
- paths: [
32
33
34
35
36
37
- ],
38
39
+ /\/node_modules\/(ansi-styles|chalk)\//,
40
],
41
use: {
42
loader: 'babel-loader',
0 commit comments