Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

fix: correctly load font files - closes #128 #134

Merged
merged 2 commits into from
Sep 29, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Header from '../components/Header';
import { Container, Content } from '../components/Layout';
import RouterApp from '../router';
import API from '../utils/api';
import '../styles/typeface-roboto.css';
import 'typeface-roboto';
import '../utils/styles/global';
import 'normalize.css';
import Footer from '../components/Footer';
Expand Down
1 change: 0 additions & 1 deletion src/styles/typeface-roboto.css

This file was deleted.

2 changes: 1 addition & 1 deletion tools/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
test: /\.(woff|woff2|eot|ttf|otf)$/,
loader: 'url-loader',
options: {
name: 'fonts/[name].[ext]',
name: '/fonts/[name].[ext]',
limit: 50,
},
},
Expand Down