Skip to content

Commit 02f72bd

Browse files
committed
test: add assets for performance test
- add tailwindcss and bootstrap file for performance test
1 parent 48ce28f commit 02f72bd

File tree

5 files changed

+9
-835
lines changed

5 files changed

+9
-835
lines changed

packages/postcss-purgecss/package-lock.json

Lines changed: 0 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/purgecss/__tests__/performance.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ describe("performance", () => {
99
// files in __tests__/test_examples, including tailwind.css, which is
1010
// a whopping 908KB of CSS before purging.
1111
content: ["./packages/purgecss/node_modules/**/*.js"],
12-
css: [
13-
"./packages/purgecss/__tests__/test_examples/*/*.css",
14-
"./packages/purgecss/node_modules/tailwindcss/dist/tailwind.css",
15-
],
12+
css: ["./packages/purgecss/__tests__/test_examples/*/*.css"],
1613
})
1714
.then((results) => {
1815
expect(results.length).toBeGreaterThanOrEqual(1);

packages/purgecss/__tests__/test_examples/assets/bootstrap.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/purgecss/__tests__/test_examples/assets/tailwind.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)