Skip to content

Commit 913d2e3

Browse files
committed
Reduce icons size
1 parent d8f49c0 commit 913d2e3

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
- name: Parse .tool-versions
6363
uses: ./.github/actions/parse-tool-versions
6464
id: tool-versions
65+
6566
- uses: aws-actions/configure-aws-credentials@v5.0.0
6667
with:
6768
role-to-assume: ${{ secrets.AWS_ROLE }}
@@ -86,10 +87,13 @@ jobs:
8687
-backend-config="bucket=${{env.TF_VAR_project}}-tfbackend" \
8788
-backend-config="region=${{env.TF_VAR_aws_region}}"
8889
working-directory: ./terraform
90+
8991
- run: terraform plan -out=tfplan -input=false
9092
working-directory: ./terraform
93+
9194
- run: terraform apply -input=false tfplan
9295
working-directory: ./terraform
96+
9397
- run: echo "json=$(terraform output -json | jq -c .)" >> $GITHUB_OUTPUT
9498
working-directory: ./terraform
9599
id: tf_output

webpack.baseConfig.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,23 @@ module.exports = {
3434
}),
3535
new FaviconsWebpackPlugin({
3636
logo: "./images/favicon.png",
37-
background: "#fff",
3837
prefix: "icons/",
38+
favicons: {
39+
appName: "Iporaitech",
40+
appDescription: "Static web page",
41+
background: "#fff",
42+
icons: {
43+
// Only generate the basics
44+
favicons: true, // favicon.ico + favicon.png
45+
appleIcon: true,
46+
android: false,
47+
appleStartup: false,
48+
coast: false,
49+
firefox: false,
50+
windows: false,
51+
yandex: false,
52+
},
53+
},
3954
}),
4055
],
4156
module: {

0 commit comments

Comments
 (0)