In a following patch, all DevTools moz.build files will use DevToolsModules to install JS modules at a path that corresponds directly to their source tree location. Here we rewrite all require and import calls to match the new location that these files are installed to.
8 lines
316 B
JavaScript
8 lines
316 B
JavaScript
var { cssBeautify } = require("devtools/shared/jsbeautify/src/beautify-css");
|
|
var { htmlBeautify } = require("devtools/shared/jsbeautify/src/beautify-html");
|
|
var { jsBeautify } = require("devtools/shared/jsbeautify/src/beautify-js");
|
|
|
|
exports.css = cssBeautify;
|
|
exports.html = htmlBeautify;
|
|
exports.js = jsBeautify;
|