diff --git a/dist/index.js b/dist/index.js index 8ea7802..f961679 100644 --- a/dist/index.js +++ b/dist/index.js @@ -74,8 +74,9 @@ class RelayCompilerWebpackPlugin { } const watchman = options.watchman !== undefined ? options.watchman : true; + const extensions = options.extensions !== undefined ? options.extensions : ['js']; const fileOptions = { - extensions: ['js'], + extensions, include: ['**'], exclude: ['**/node_modules/**', '**/__mocks__/**', '**/__tests__/**', '**/__generated__/**'] };