I'm wondering if it would aslo make sens to let the plugin wrap the import/require of the warning dependency with a process.env.NODE_ENV !== 'production' block.
That shouldn't make any different when using a flat bundler like rollup but I think that would save us some module tree traversal when using a bundler like webpack.
I'm wondering if it would aslo make sens to let the plugin wrap the
import/requireof thewarningdependency with aprocess.env.NODE_ENV !== 'production'block.That shouldn't make any different when using a flat bundler like rollup but I think that would save us some module tree traversal when using a bundler like webpack.