Skip to content

Commit b99c38f

Browse files
author
Brian Vaughn
committed
Updated scheduling profiler Webpack config
1. Don't conflict with DevTools test shell port. 2. Add __VARIANT__ global since this is referenced in code now.
1 parent 9b5a672 commit b99c38f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-devtools-scheduling-profiler/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const config = {
5656
__DEV__,
5757
__PROFILE__: false,
5858
__EXPERIMENTAL__: true,
59+
__VARIANT__: false,
5960
'process.env.DEVTOOLS_VERSION': `"${DEVTOOLS_VERSION}"`,
6061
}),
6162
new HtmlWebpackPlugin({
@@ -112,7 +113,7 @@ const config = {
112113
if (shouldUseDevServer) {
113114
config.devServer = {
114115
hot: true,
115-
port: 8080,
116+
port: 8081,
116117
clientLogLevel: 'warning',
117118
stats: 'errors-only',
118119
};

0 commit comments

Comments
 (0)