Skip to content

Commit

Permalink
fix(plaground): cr fix
Browse files Browse the repository at this point in the history
cr fix & extend bundle size limitation
  • Loading branch information
simeng-li committed Nov 4, 2021
1 parent 2d81d71 commit 2b444db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/playground/razzle.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ module.exports = {
// 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'
maxEntrypointSize: 512000,
maxAssetSize: 512000,
};

return config;
Expand Down
3 changes: 0 additions & 3 deletions packages/playground/src/consts/url.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
export const baseUrl = `http://${String(process.env.HOST)}:${String(process.env.PORT)}`;
export const oidcDomain = process.env.RAZZLE_OIDC_BASE_DOMAIN ?? 'N/A';
export const oidcUrl = process.env.RAZZLE_OIDC_BASE_DOMAIN
? `http://${process.env.RAZZLE_OIDC_BASE_DOMAIN}/oidc`
: 'N/A';

0 comments on commit 2b444db

Please sign in to comment.