3 Commits

Author SHA1 Message Date
Maximilian Krög
403b06b438 Use RegExp#test intead of String#match 2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321 Use includes instead of indexOf 2022-08-05 01:49:01 +02:00
Maximilian Krög
40f8e69675 Fix legacy build
The build process failed because webpack does not allow failed imports
when it is run as a module.
This detects modules with default exports and only generates import
statements for default exports where they are available.
2021-05-02 23:49:50 +02:00