From d6359af2b012314501772ce8249da3b1d2d3cd44 Mon Sep 17 00:00:00 2001 From: Eugene Zolenko Date: Wed, 13 Nov 2019 18:42:51 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index db053c6b..21835413 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,10 @@ The plugin inherits all compiler options and file lists from your `tsconfig.json * `module`: defaults to `ES2015`, other valid value is `ESNext` (required for dynamic imports, see [#54](https://github.com/ezolenko/rollup-plugin-typescript2/issues/54)). +#### Some options need additional configuration on plugin side + +* `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). + ### Compatibility #### rollup-plugin-node-resolve