Skip to content

Commit

Permalink
fix(playgrond): set webpack performance hint to warning
Browse files Browse the repository at this point in the history
Playground exceed the webpack default bundle size limitation. Need to optimze later
  • Loading branch information
simeng-li committed Nov 4, 2021
1 parent 498dcdb commit 2d81d71
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/playground/razzle.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ module.exports = {
'@': path.resolve('src/'),
};

// Playground exceed the 244kb limitation after import client
// create a issue to optimize client js SDK package size
// https://linear.app/silverhand/issue/LOG-236/need-to-reduce-the-client-package-size
config.performance = {
hints: 'warning'
};

return config;
},
modifyJestConfig: ({ jestConfig }) => {
Expand Down

0 comments on commit 2d81d71

Please sign in to comment.