@samitouri / QOS-React-1 / commits / 33ffde4836

[playground] turn of ppr

Sathya Gunasekaran committed Nov 8, 2023 at 15:46 UTC 33ffde4836d5e72f8109282e8f97af20179313dc
2 files changed +3 -14
compiler/apps/playground/next-env.d.ts
-7
@@ -1,10 +1,3 @@
1 -/**
2 - * Copyright (c) Meta Platforms, Inc. and affiliates.
3 - *
4 - * This source code is licensed under the MIT license found in the
5 - * LICENSE file in the root directory of this source tree.
6 - */
7 -
1 /// <reference types="next" />
2 /// <reference types="next/image-types/global" />
3
compiler/apps/playground/next.config.js
+3 -7
@@ -20,12 +20,9 @@ const nextConfig = {
20 if (!options.isServer) {
21 config.plugins.push(
22 new MonacoWebpackPlugin({
23 - languages: [
24 - "typescript",
25 - "javascript",
26 - ],
27 - filename: "static/[name].worker.js"
28 - })
23 + languages: ["typescript", "javascript"],
24 + filename: "static/[name].worker.js",
25 + }),
26 );
27 }
28 return config;
@@ -34,7 +31,6 @@ const nextConfig = {
31 // experimental react which has the useMemoCache hook.
32 experimental: {
33 serverActions: true,
37 - ppr: true,
34 },
35 transpilePackages: ["monaco-editor"],
36 };