-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
import-js/eslint-plugin-import
#586Milestone
Description
I've heard a few reports that people use Webpack import extension syntax (like !!file!./stuff
) to customize Create React App loaders. We don't support this officially, and we may accidentally (or on purpose) break this in the future. This also couples apps to Webpack resolution mechanism too hard.
We need to write a Webpack plugin that throws in parsing stage (https://github.com/webpack/docs/wiki/plugins#the-parser-instance-compilerparser) if you attempt to require or import something with !
in the path.