Skip to content

Commit

Permalink
add use client to bundler entry files
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon committed Jun 12, 2024
1 parent ddf3a57 commit 157de7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/polyfills/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @format
*/

'use client';

/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */

/**
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native/Libraries/Core/InitializeCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* @flow strict-local
*/

'use client';

/**
* Sets up global variables typical in most JavaScript environments.
*
Expand Down
1 change: 1 addition & 0 deletions packages/react-native/Libraries/Core/setUpGlobals.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @format
*/

'use client';
'use strict';

/**
Expand Down

0 comments on commit 157de7b

Please sign in to comment.