question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bundle size css-tree

See original GitHub issue

The bundle size passed from 55kb to 173kb updating the library from 9.11.1 to 11.0.1.

Should css-tree be an optional dependency?

image

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:19

github_iconTop GitHub Comments

4reactions
todoronecommented, Apr 3, 2020

@msand Thanks for help and quick response. Yeah, just commenting those lines with patch-package saved almost 250Kb of bundle, according to react-native-bundle-visualizer.

Bundle is 2.1 MB in size (--- has decreased with 246003 bytes since last run)

It’s ridiculous, how much trash sometimes we bundle into our apps, and then claiming that react native is slow…😸

2reactions
todoronecommented, Apr 3, 2020

@msand I’ll try to investigate

Read more comments on GitHub >

github_iconTop Results From Across the Web

css-tree Bundlephobia
Find the size of javascript package css-tree. Bundlephobia helps you find the performance impact of npm packages.
Read more >
CSSTree - GitHub
CSSTree is a tool set for CSS: fast detailed parser (CSS → AST), walker (AST ... That's might useful for loading time or...
Read more >
css-tree | Yarn - Package Manager
CSSTree is a tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation...
Read more >
Css-tree NPM
Exports. Is it possible to import just a needed part of library like a parser or a walker. That's might useful for loading...
Read more >
css-tree: Documentation | Openbase
That's might useful for loading time or bundle size optimisations. import * as tokenizer from 'css-tree/tokenizer'; import * as parser from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found