Skip to content

Commit d6359af

Browse files
authored
Update README.md
1 parent 7e9f5c8 commit d6359af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ The plugin inherits all compiler options and file lists from your `tsconfig.json
5353

5454
* `module`: defaults to `ES2015`, other valid value is `ESNext` (required for dynamic imports, see [#54](https://github.com/ezolenko/rollup-plugin-typescript2/issues/54)).
5555

56+
#### Some options need additional configuration on plugin side
57+
58+
* `allowJs`: lets typescript process js files as well, if you use it, modify plugin's `include` option to add `"*.js+(|x)", "**/*.js+(|x)"` (might want to exclude node_modules, it will slow down the build significantly).
59+
5660
### Compatibility
5761

5862
#### rollup-plugin-node-resolve

0 commit comments

Comments
 (0)