Skip to content

Commit

Permalink
Merge pull request #14047 from storybookjs/pocka/fix/transpile-prettier
Browse files Browse the repository at this point in the history
IE11: Transpile prettier down to ES5
  • Loading branch information
shilman authored Feb 25, 2021
2 parents fe97d11 + 896c46f commit a1e5c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-common/src/utils/es6Transpiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const es6Transpiler: () => RuleSetRule = () => {
return (
!!nodeModulesThatNeedToBeParsedBecauseTheyExposeES6.find((p) => input.includes(p)) ||
!!input.match(
/[\\/]node_modules[\\/](@storybook\/node-logger|are-you-es5|better-opn|boxen|chalk|commander|find-cache-dir|find-up|fs-extra|json5|node-fetch|pkg-dir|resolve-from|semver|highlight.js)/
/[\\/]node_modules[\\/](@storybook\/node-logger|are-you-es5|better-opn|boxen|chalk|commander|find-cache-dir|find-up|fs-extra|json5|node-fetch|pkg-dir|prettier|resolve-from|semver|highlight.js)/
)
);
};
Expand Down

0 comments on commit a1e5c11

Please sign in to comment.