Skip to content

Commit f317aa1

Browse files
authored
fix: update icomoon assets and webpack config (#684)
1 parent 0cfb331 commit f317aa1

File tree

8 files changed

+52
-23
lines changed

8 files changed

+52
-23
lines changed

giraffe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@influxdata/giraffe",
3-
"version": "2.18.5",
3+
"version": "2.18.6",
44
"main": "dist/index.js",
55
"module": "src/index.js",
66
"license": "MIT",

giraffe/src/fonts/icomoon.eot

5.75 KB
Binary file not shown.

giraffe/src/fonts/icomoon.svg

Lines changed: 47 additions & 1 deletion
Loading

giraffe/src/fonts/icomoon.ttf

5.75 KB
Binary file not shown.

giraffe/src/fonts/icomoon.woff

5.75 KB
Binary file not shown.

giraffe/src/fonts/icomoon.woff2

2.37 KB
Binary file not shown.

giraffe/webpack.common.config.js

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,31 +57,14 @@ module.exports = {
5757
{
5858
test: /\.css$/,
5959
exclude: /leaflet\.css/,
60-
use: [
61-
{loader: 'style-loader'},
62-
{loader: 'css-loader'},
63-
],
60+
use: [{loader: 'style-loader'}, {loader: 'css-loader'}],
6461
},
6562
{
6663
test: /leaflet\.css/,
67-
use: [
68-
{loader: 'style-loader'},
69-
'css-loader',
70-
],
71-
},
72-
{
73-
test: /\.(png|svg|jpg|gif)$/,
74-
use: [
75-
{
76-
loader: 'file-loader',
77-
options: {
78-
name: '[contenthash:10].[ext]',
79-
},
80-
},
81-
],
64+
use: [{loader: 'style-loader'}, 'css-loader'],
8265
},
8366
{
84-
test: /\.(woff|woff2|eot|ttf|otf)$/,
67+
test: /\.(png|svg|jpg|gif|eot|ttf|woff|woff2|otf)$/,
8568
use: [
8669
{
8770
loader: 'file-loader',

stories/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@influxdata/giraffe-stories",
3-
"version": "2.18.0",
3+
"version": "2.18.6",
44
"license": "MIT",
55
"scripts": {
66
"lint": "eslint '{src,../giraffe/src}/**/*.{ts,tsx}'",

0 commit comments

Comments
 (0)