firefox-devtools / rfcs

RFCs for changes to DevTools
15 stars 17 forks source link

Using absolute paths in require calls #67

Open janodvarko opened 4 years ago

janodvarko commented 4 years ago

It would be great to have unified approach to module paths we are passing to require calls. We are currently mixing absolute and relative paths, which doesn't seem ideal.

Examples:

require("devtools/client/shared/vendor/react-prop-types");`
require("../utils/request-utils");

Preferring absolute paths might have positive impact:

WDYT?

Honza