Handle css with webpack
This commit is contained in:
parent
3d4c1baeda
commit
94f3777f5f
8 changed files with 214 additions and 234 deletions
6
client/src/css/fontello.css
vendored
6
client/src/css/fontello.css
vendored
|
@ -1,8 +1,8 @@
|
|||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.woff2?48901973') format('woff2'),
|
||||
url('../font/fontello.woff?48901973') format('woff'),
|
||||
url('../font/fontello.ttf?48901973') format('truetype');
|
||||
src: url('/font/fontello.woff2?48901973') format('woff2'),
|
||||
url('/font/fontello.woff?48901973') format('woff'),
|
||||
url('/font/fontello.ttf?48901973') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import React from 'react';
|
||||
import { render } from 'react-dom';
|
||||
import 'react-virtualized/styles.css';
|
||||
|
||||
import Root from 'components/Root';
|
||||
import initRouter from 'utils/router';
|
||||
|
@ -8,6 +7,9 @@ import Socket from 'utils/Socket';
|
|||
import configureStore from './store';
|
||||
import routes from './routes';
|
||||
import runModules from './modules';
|
||||
import '../css/fonts.css';
|
||||
import '../css/fontello.css';
|
||||
import '../css/style.css';
|
||||
|
||||
const production = process.env.NODE_ENV === 'production';
|
||||
const host = production
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue