Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce built library size #277

Merged
merged 6 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading