1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix bundling of css assets

This commit is contained in:
sveisvei 2016-12-22 10:42:41 +01:00
parent 6d5cf7eeae
commit 0eaa10f97f
2 changed files with 2 additions and 3 deletions

View File

@ -2,14 +2,13 @@
<html> <html>
<head> <head>
<title>Unleash Admin</title> <title>Unleash Admin</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/static/bundle.css" /> <link rel="stylesheet" href="/static/bundle.css" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
</head> </head>
<body> <body>
<div id='app'></div> <div id='app'></div>
<script src="/node_modules/react-mdl/extra/material.min.js"></script>
<script src="/static/bundle.js"></script> <script src="/static/bundle.js"></script>
</body> </body>
</html> </html>

View File

@ -50,7 +50,7 @@ module.exports = {
}, },
{ {
test: /\.css$/, test: /\.css$/,
loader: 'style-loader!css-loader', loader: ExtractTextPlugin.extract('style', 'css'),
}, },
], ],
}, },