Skip to content

Commit

Permalink
docs: fix onlyRemoveTypeImports casing (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist authored Jun 6, 2022
1 parent 78a0c55 commit f9b885e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/preprocessing.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ The Babel preprocessor accepts an options object which is passed onto the babel

`Svelte` expects your JavaScript to be in at least ES6 format, so make sure to set your Babel configuration accordingly.

If you are using TypeScript through `@babel/plugin-transform-typescript`, set [onlyremovetypeimports](https://babeljs.io/docs/en/babel-preset-typescript#onlyremovetypeimports) to `true` so that all value imports are preserved.
If you are using TypeScript through `@babel/plugin-transform-typescript`, set [onlyRemoveTypeImports](https://babeljs.io/docs/en/babel-preset-typescript#onlyremovetypeimports) to `true` so that all value imports are preserved.

_Note: If you want to transpile your app to be supported in older browsers, you must run babel from the context of your bundler._

Expand Down

0 comments on commit f9b885e

Please sign in to comment.