You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,19 @@ Auto-resolve bare specifiers in [SystemJS](https://github.com/systemjs/systemjs)
16
16
```
17
17
18
18
```js
19
-
const_=awaitSystem.import('lodash'); // ⬅ Won't work unless the import map above is defined
19
+
// Won't work unless the import map above is defined
20
+
const_=awaitSystem.import('lodash');
20
21
```
21
22
22
-
**After**
23
+
**After<sup>✨</sup>**
23
24
24
25
```js
25
-
const_=awaitSystem.import('lodash'); // ⬅ Automatically resolved without import map
26
+
// Automatically resolved without import map!
27
+
const_=awaitSystem.import('lodash');
26
28
```
27
29
28
30
## 🙋♂️ Why?
29
-
-**⚡️ Simplify SystemJS setup** Zero config setup to seemlessly resolve arbitrary bare specifiers!
31
+
-**⚡️ Simplify SystemJS setup** Zero config setup to seamlessly resolve arbitrary bare specifiers!
30
32
-**🔥 Import map fallback** Only resolves specifiers that aren't defined in your [import map](https://github.com/systemjs/systemjs/blob/master/docs/import-maps.md)!
0 commit comments