Skip to content

Commit 611ea4c

Browse files
committed
Remove HTML minification feature
1 parent bed9ed4 commit 611ea4c

File tree

14 files changed

+900
-3523
lines changed

14 files changed

+900
-3523
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 201 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ jobs:
33
runs-on: ubuntu-latest
44
steps:
55
- uses: actions/checkout@v4
6+
with:
7+
submodules: true
68
- uses: actions/setup-node@v3
79
with:
810
node-version-file: .node-version

.prettierignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
/.prettierrc.json
22
/LICENSE*
3-
/.eslintrc.json
43
/.github/workflows/ci.yml
54
/package-lock.json
65
/tsconfig.base.json
76
/tsconfig.json
87
/lib
98
/tsconfig.emit.json
10-
/tsconfig.eslint.json
119
/.vscode/extensions.json
1210
/.vscode/settings.json

.vscode/settings.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,16 @@
2727
"editor.defaultFormatter": "esbenp.prettier-vscode"
2828
},
2929
"editor.codeActionsOnSave": {
30-
"source.addMissingImports": true,
31-
"source.fixAll.eslint": true
30+
"source.addMissingImports": "explicit",
31+
"source.fixAll.eslint": "explicit"
3232
},
3333
"editor.formatOnSave": true,
3434
"editor.rulers": [
3535
100
3636
],
37+
"eslint.experimental.useFlatConfig": true,
3738
"files.exclude": {
3839
".editorconfig": true,
39-
".eslintignore": true,
40-
".eslintrc.json": true,
4140
".github": true,
4241
".github/workflows/ci.yml": true,
4342
".gitignore": true,
@@ -50,7 +49,6 @@
5049
"ci.sh": true,
5150
"tsconfig.base.json": true,
5251
"tsconfig.emit.json": true,
53-
"tsconfig.eslint.json": true,
5452
"tsconfig.json": true
5553
},
5654
"json.schemaDownload.enable": true,

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
> An esbuild plugin that generates an HTML file.
44
55
This esbuild plugin allows the creation of an HTML file featuring output URLs of bundled assets,
6-
while supporting customization of head and body elements. The esbuild's `minify` option handles
7-
minification.
6+
while supporting customization of head and body elements.
87

98
## Installation
109

@@ -20,7 +19,6 @@ import * as esbuild from 'esbuild';
2019
await esbuild.build({
2120
entryPoints: [`app.ts`],
2221
bundle: true,
23-
minify: true,
2422
outdir: `dist`,
2523
publicPath: `/static`,
2624
plugins: [

ci.sh

100644100755
File mode changed.

eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { createConfigs } from 'onecfg-lib-eslint';
2+
3+
export default [{ ignores: [`lib/`] }, ...createConfigs({ node: true })];

onecfg.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@
1111
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-prettier.json",
1212
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-typescript.json",
1313
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-typescript-emit.json",
14-
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-typescript-eslint.json",
1514
"https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-vscode.json"
1615
],
1716
"patches": {
1817
"ci.sh": [
1918
{
2019
"value": [
21-
"npm run format:check",
22-
"npm run lint",
2320
"npm run compile:check",
24-
"npm run compile:emit"
21+
"npm run compile:emit",
22+
"npm run format:check",
23+
"npm run lint"
2524
]
2625
}
2726
]

0 commit comments

Comments
 (0)