From 33ffde4836d5e72f8109282e8f97af20179313dc Mon Sep 17 00:00:00 2001 From: Sathya Gunasekaran Date: Wed, 8 Nov 2023 15:46:43 +0000 Subject: [PATCH] [playground] turn of ppr --- compiler/apps/playground/next-env.d.ts | 7 ------- compiler/apps/playground/next.config.js | 10 +++------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/compiler/apps/playground/next-env.d.ts b/compiler/apps/playground/next-env.d.ts index 811cbc51ad..4f11a03dc6 100644 --- a/compiler/apps/playground/next-env.d.ts +++ b/compiler/apps/playground/next-env.d.ts @@ -1,10 +1,3 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - /// /// diff --git a/compiler/apps/playground/next.config.js b/compiler/apps/playground/next.config.js index 8288d13aea..90c462e522 100644 --- a/compiler/apps/playground/next.config.js +++ b/compiler/apps/playground/next.config.js @@ -20,12 +20,9 @@ const nextConfig = { if (!options.isServer) { config.plugins.push( new MonacoWebpackPlugin({ - languages: [ - "typescript", - "javascript", - ], - filename: "static/[name].worker.js" - }) + languages: ["typescript", "javascript"], + filename: "static/[name].worker.js", + }), ); } return config; @@ -34,7 +31,6 @@ const nextConfig = { // experimental react which has the useMemoCache hook. experimental: { serverActions: true, - ppr: true, }, transpilePackages: ["monaco-editor"], };