Skip to content

Commit

Permalink
Merge pull request #277 from oddbird/size-audit
Browse files Browse the repository at this point in the history
Reduce built library size
  • Loading branch information
jamesnw authored Nov 22, 2024
2 parents 365dc11 + 4501eb3 commit 7b3586f
Show file tree
Hide file tree
Showing 8 changed files with 414 additions and 107 deletions.
273 changes: 273 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"node-fetch": "^2.6.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"rollup-plugin-bundle-stats": "^4.17.0",
"selenium-webdriver": "^4.26.0",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
Expand Down
21 changes: 21 additions & 0 deletions src/@types/css-tree.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
declare module 'css-tree/walker' {
import { walk } from 'css-tree';

export default walk;
}

declare module 'css-tree/utils' {
export { clone, List } from 'css-tree';
}

declare module 'css-tree/generator' {
import { generate } from 'css-tree';

export default generate;
}

declare module 'css-tree/parser' {
import { parse } from 'css-tree';

export default parse;
}
Loading

0 comments on commit 7b3586f

Please sign in to comment.