Skip to content

Commit

Permalink
fix(stark-build): don't parse Prettier Typescript parser in Webpack t…
Browse files Browse the repository at this point in the history
…o prevent "Can't resolve '@microsoft/typescript-etw'" warning

ISSUES CLOSED: #1483
  • Loading branch information
SuperITMan committed Jan 15, 2020
1 parent 52ae6e0 commit 9ebe868
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/stark-build/config/webpack-partial.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ module.exports = metadata => {
* See: https://webpack.js.org/configuration/module
*/
module: {
// FIXME Remove the following line once Prettier 2.0.0 is released. See: https://github.com/NationalBankBelgium/stark/issues/1483
noParse: /prettier\/parser-typescript/,

rules: [
/**
* TSLint loader support for *.ts files
Expand Down

0 comments on commit 9ebe868

Please sign in to comment.