forked from sombochea/verdaccio-ui
* 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 { Container, Content } from '../components/Layout';
|
||||||
import RouterApp from '../router';
|
import RouterApp from '../router';
|
||||||
import API from '../utils/api';
|
import API from '../utils/api';
|
||||||
import '../styles/typeface-roboto.css';
|
import 'typeface-roboto/index.css';
|
||||||
import '../utils/styles/global';
|
import '../utils/styles/global';
|
||||||
import 'normalize.css';
|
import 'normalize.css';
|
||||||
import Footer from '../components/Footer';
|
import Footer from '../components/Footer';
|
||||||
|
@ -1 +0,0 @@
|
|||||||
@import '~typeface-roboto';
|
|
@ -66,7 +66,7 @@ module.exports = {
|
|||||||
test: /\.(woff|woff2|eot|ttf|otf)$/,
|
test: /\.(woff|woff2|eot|ttf|otf)$/,
|
||||||
loader: 'url-loader',
|
loader: 'url-loader',
|
||||||
options: {
|
options: {
|
||||||
name: 'fonts/[name].[ext]',
|
name: '/fonts/[name].[ext]',
|
||||||
limit: 50,
|
limit: 50,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user