GoogleChromeLabs / tooling.report

tooling.report a quick way to determine the best build tool for your next web project, or if tooling migration is worth it, or how to adopt a tool's best practice into your existing configuration and code base.
https://tooling.report
Apache License 2.0
847 stars 49 forks source link

Add require.resolve tests #421

Open aminya opened 3 years ago

aminya commented 3 years ago

The tests don't include handling of require.resolve.

require.resolve is often used when the code uses workers.

// from master thread
const workerPath = require.resolve("./worker")