Skip to content

Commit

Permalink
axeos refactor init
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-wilson committed Feb 25, 2024
1 parent feda660 commit 69e3c4b
Show file tree
Hide file tree
Showing 64 changed files with 11,326 additions and 3,568 deletions.
4 changes: 2 additions & 2 deletions main/http_server/axe-os/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "750kb",
"maximumError": "1mb"
"maximumWarning": "2mb",
"maximumError": "3mb"
},
{
"type": "anyComponentStyle",
Expand Down
16 changes: 16 additions & 0 deletions main/http_server/axe-os/only-gzip.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const fs = require('fs');
const path = require('path');

const directory = './dist/axe-os';

fs.readdir(directory, (err, files) => {
if (err) throw err;

for (const file of files) {
if (!file.endsWith('.gz')) {
fs.unlink(path.join(directory, file), err => {
if (err) throw err;
});
}
}
});
Loading

0 comments on commit 69e3c4b

Please sign in to comment.