Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Add docs for --legacy flag #1209

Merged
merged 6 commits into from
Jul 31, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion site/content/docs/09-building.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,16 @@ The output is a Node app that you can run from the project root:

```bash
node __sapper__/build
```
```

### Browser support

By default, Sapper builds your site only for the latest versions of modern evergreen browsers.

For older browsers, like Internet Explorer, you will need to use the `--legacy` flag:

```
npx sapper build --legacy
```

You will also need to polyfill APIs that are not present in older browsers.