We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d600b commit f1b44b5Copy full SHA for f1b44b5
.config/esbuild.config.mjs
@@ -57,7 +57,7 @@ function createPathShorteningPlugin() {
57
* Shorten a module path and detect conflicts.
58
*/
59
// eslint-disable-next-line unicorn/consistent-function-scoping
60
- const shortenPath = (longPath) => {
+ const shortenPath = longPath => {
61
if (pathMap.has(longPath)) {
62
return pathMap.get(longPath)
63
}
@@ -134,7 +134,7 @@ function createPathShorteningPlugin() {
134
135
136
// Walk through all string literals in __commonJS calls
137
- const walk = (node) => {
+ const walk = node => {
138
if (!node || typeof node !== 'object') {
139
return
140
0 commit comments