Skip to content

Commit 3dc39a7

Browse files
committed
chore: remove unused glyphicons
Should lead to smaller XAR size. Removed font from - npm dependencies - xar-resources folder - frontend folder Adapted the gulpfile accordingly.
1 parent d2505b6 commit 3dc39a7

13 files changed

+8
-605
lines changed

Gulpfile.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ var paths = {
4242
input: 'node_modules/',
4343
output: 'target/generated-resources/frontend/xar-resources/resources/'
4444
},
45-
fonts: {
46-
output: 'target/generated-resources/frontend/xar-resources/resources/fonts/'
47-
},
4845
xml: {
4946
listings: 'src/main/xar-resources/data/*/listings/*.xml',
5047
articles: 'src/main/xar-resources/data/*/*.xml'
@@ -294,9 +291,6 @@ var vendorFiles = function (done) {
294291
src(['node_modules/bootstrap/dist/css/bootstrap.min.*', 'node_modules/@highlightjs/cdn-assets/styles/atom-one-dark.min.css'])
295292
.pipe(dest(paths.styles.output))
296293

297-
// copy vendor fonts
298-
src('node_modules/@neos21/bootstrap3-glyphicons/dist/fonts/*')
299-
.pipe(dest(paths.fonts.output))
300294
// Signal completion
301295
done()
302296
}

package-lock.json

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
},
5555
"dependencies": {
5656
"@highlightjs/cdn-assets": "^11.11.1",
57-
"@neos21/bootstrap3-glyphicons": "^1.0.7",
5857
"@popperjs/core": "^2.11.8",
5958
"bootstrap": "^5.3.3"
6059
}
-19.7 KB
Binary file not shown.

src/main/frontend/copy/fonts/glyphicons-halflings-regular.svg

Lines changed: 0 additions & 288 deletions
This file was deleted.
-44.3 KB
Binary file not shown.
-22.9 KB
Binary file not shown.
-17.6 KB
Binary file not shown.
Binary file not shown.

src/main/xar-resources/resources/fonts/glyphicons-halflings-regular.svg

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

0 commit comments

Comments
 (0)