You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
What is the expected behavior?
I would expect webpack to ignore everything except a call of require.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Node.js 8.1.0
Webpack 2.6.1
The text was updated successfully, but these errors were encountered:
jshbrntt
changed the title
Check whether require is defined, interpretted as require('.')
Checking whether require is defined, interpretted as require('.')
Oct 27, 2017
What is the current behavior?
Webpack compiles the following
Into the following:
Presumably resolving
require
torequire('.')
incorrectly.If the current behavior is a bug, please provide the steps to reproduce.
Attempt to import the following module.
You should end up with this error.
What is the expected behavior?
I would expect webpack to ignore everything except a call of
require
.Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
The text was updated successfully, but these errors were encountered: