Skip to content

Commit a0ceace

Browse files
author
Ives van Hoorne
committed
Size improvements
1 parent 8ebede2 commit a0ceace

File tree

243 files changed

+30
-1084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+30
-1084
lines changed

packages/app/config/webpack.common.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,21 @@ module.exports = {
213213
/eslint\.4\.1\.0\.min\.js$/,
214214
/typescriptServices\.js$/,
215215
/browserfs\.js/,
216+
/browserfs\.min\.js/,
216217
],
217218
},
218219

220+
externals: SANDBOX_ONLY
221+
? [
222+
'react',
223+
'react-dom',
224+
'styled-components',
225+
'html-entities',
226+
'react-tippy',
227+
'color-convert',
228+
]
229+
: [],
230+
219231
resolve: {
220232
mainFields: ['browser', 'module', 'jsnext:main', 'main'],
221233
modules: ['node_modules', 'src', 'standalone-packages'],
@@ -236,7 +248,9 @@ module.exports = {
236248
'..',
237249
'..',
238250
'standalone-packages',
239-
'codesandbox-browserfs'
251+
'codesandbox-browserfs',
252+
'build',
253+
__DEV__ ? 'browserfs.js' : 'browserfs.min.js'
240254
)
241255
),
242256
},

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/concat.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/copy-within.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/entries.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/every.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/fill.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/filter.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/find-index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/app/src/sandbox/eval/loaders/babel-runtime/core-js/array/find.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)