-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite project to make it smaller, faster and more understandable (#72)
* refactor: use simpler approach * refactor: update tests and fix code accordingly * refactor: finalize code & tests * Finish fixing tests for IE11 * Move code to the src directory * refactor: use forEach for array-like structures * refactor: convert to Typescript & add more documentation * refactor: add small fixes and tweaks for Terser * test: update tests * chore: update dependencies and building pipeline * chore: replace husky with simple-git-hooks * chore: add size-limit check * chore: add tslib package required by @rollup/plugin-typescript * refactor: address review comments * Fix issue with multiple rules replacement. * Use let/const and arrow functions wherever possible. * Use "contributors" in package.json * refactor: use more `self` instead of `this` * test: add tests for multi-rule style replacement * refactor: remove Terser annotations BREAKING CHANGE: project re-write
- Loading branch information
Showing
27 changed files
with
27,569 additions
and
7,135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = [ | ||
{ | ||
path: 'dist/adoptedStyleSheets.js', | ||
limit: '2 kB', | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.