check-export-map icon indicating copy to clipboard operation
check-export-map copied to clipboard

Add a check that 'default' is the last option specified

Open mattpocock opened this issue 2 years ago • 1 comments

WRONG:

{
  "default": "./2.js",
  "require": "./1.js"
}

RIGHT:

{
  "require": "./1.js",
  "default": "./2.js"
}

Next.js (and I assume, Webpack 5) errors if you don't get this right.

mattpocock avatar Feb 20 '23 08:02 mattpocock

marvinhagemeister if i I'll provide PR can you review it?

XantreDev avatar Sep 16 '23 19:09 XantreDev