[playground] turn of ppr

This commit is contained in:
Sathya Gunasekaran
2023-11-08 15:46:43 +00:00
parent 6405c980eb
commit 33ffde4836
2 changed files with 3 additions and 14 deletions
-7
View File
@@ -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.
*/
/// <reference types="next" />
/// <reference types="next/image-types/global" />
+3 -7
View File
@@ -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"],
};