Skip to content

Commit 36a2e2a

Browse files
committed
Ensure all assets are handled by webpack
1 parent d0aa9c1 commit 36a2e2a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/styles/icons/custom/custom-icons-def.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as FontFaceObserver from 'fontfaceobserver';
22
import FontSymbol from 'ol-ext/style/FontSymbol';
3+
import './custom-icons.woff2';
34

45
const iconMappings: { [key: string]: any } = {
56
'lobsta': '\uf101',

src/styles/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ import '@mdi/font/css/materialdesignicons.css';
1919

2020
// Import Material Design icons definition JS file to define icon names and variations
2121
import './icons/material-design/material-design-def';
22+
23+
// Import plugin SVG icons to make them available in assets/images
24+
import './images/icons.svg';

0 commit comments

Comments
 (0)