Skip to content

Commit 5ccffbd

Browse files
committed
Add node-libs-browser by default to the dependencies
1 parent 8b44d1a commit 5ccffbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/compile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ const BABEL_DEPENDENCIES = [
116116
// Dependencies that we actually don't need, we will replace this by a dynamic
117117
// system in the future
118118
const PREINSTALLED_DEPENDENCIES = [
119-
'node-libs-browser',
120119
'react-scripts',
121120
'react-scripts-ts',
122121
'parcel-bundler',
@@ -302,6 +301,7 @@ function getDependencies(
302301

303302
// This is used for cache busting
304303
returnedDependencies.csbbust = '1.0.0';
304+
returnedDependencies['node-libs-browser'] = '2.2.0';
305305

306306
preinstalledDependencies.forEach(dep => {
307307
if (returnedDependencies[dep]) {

0 commit comments

Comments
 (0)