mirror of
https://github.com/SomboChea/ui
synced 2024-11-24 06:54:27 +07:00
* fix: correctly load font files - closes #128 * Resolve issue with the moduleNameWrapper in Jest
This commit is contained in:
parent
ffc97c373c
commit
f61913c2d3
@ -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/index.css';
|
||||
import '../utils/styles/global';
|
||||
import 'normalize.css';
|
||||
import Footer from '../components/Footer';
|
||||
|
@ -1 +0,0 @@
|
||||
@import '~typeface-roboto';
|
@ -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,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user