Skip to content

Commit

Permalink
put extensions first
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Aug 27, 2019
1 parent 13b1607 commit b780c7d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/module-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

SystemJS supports loading modules that are in the following formats:

| Module Format | s.js | system.js | File Extension |
| ------------- | ---- | --------- | -------------- |
| [System.register](/docs/system-register.md) | :heavy_check_mark: | :heavy_check_mark: | * |
| [JSON Modules](https://github.com/whatwg/html/pull/4407) | [Module Types extra](/dist/extras/module-types.js) | :heavy_check_mark: | *.json |
| [CSS Modules](https://github.com/w3c/webcomponents/blob/gh-pages/proposals/css-modules-v1-explainer.md) | [Module Types extra](/dist/extras/module-types.js) | :heavy_check_mark: | *.css |
| [Web Assembly](https://github.com/WebAssembly/esm-integration/tree/master/proposals/esm-integration) | [Module Types extra](/dist/extras/module-types.js) | :heavy_check_mark: | *.wasm |
| Global variable | [global extra](/dist/extras/global.js) | :heavy_check_mark: | * |
| [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) | [AMD extra](/dist/extras/amd.js) | [AMD extra](/dist/extras/amd.js) | * |
| [UMD](https://github.com/umdjs/umd) | [AMD extra](/dist/extras/amd.js) | [AMD extra](/dist/extras/amd.js) | * |
| Module Format | File Extension | s.js | system.js |
| ------------- | --------------- |----- | --------- |
| [System.register](/docs/system-register.md) | * | :heavy_check_mark: | :heavy_check_mark: |
| [JSON Modules](https://github.com/whatwg/html/pull/4407) | *.json | [Module Types extra](/dist/extras/module-types.js) | :heavy_check_mark: |
| [CSS Modules](https://github.com/w3c/webcomponents/blob/gh-pages/proposals/css-modules-v1-explainer.md) | *.css | [Module Types extra](/dist/extras/module-types.js) | :heavy_check_mark: |
| [Web Assembly](https://github.com/WebAssembly/esm-integration/tree/master/proposals/esm-integration) | *.wasm | [Module Types extra](/dist/extras/module-types.js) | :heavy_check_mark: |
| Global variable | * | [global extra](/dist/extras/global.js) | :heavy_check_mark: |
| [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) | * | [AMD extra](/dist/extras/amd.js) | [AMD extra](/dist/extras/amd.js) |
| [UMD](https://github.com/umdjs/umd) | * | [AMD extra](/dist/extras/amd.js) | [AMD extra](/dist/extras/amd.js) |

### File Extension Limitations

Expand Down

0 comments on commit b780c7d

Please sign in to comment.