mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[playground] turn of ppr
This commit is contained in:
-7
@@ -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" />
|
||||
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user