1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00

fixing bug in font loader. Including only UI font path, and adding new loader for SVG only

This commit is contained in:
Alex Windett 2017-02-01 15:12:17 +00:00
parent 299f7e2282
commit cf723f5010

View File

@ -71,8 +71,20 @@ module.exports = {
loader: [
'url-loader'
]
},
{
}, {
test: /\.svg/,
exclude: [
/node_modules/,
path.join(UI, 'shared', 'fonts'),
],
include: [
FRONTEND,
UI
],
loader: [
'file-loader'
]
}, {
test: /\.(eot|svg|ttf|woff|woff2)$/,
loader: 'file-loader',
// XXX: By commenting this out, production "BUILD=production make compile"
@ -80,8 +92,7 @@ module.exports = {
//
// exclude: /node_modules/,
include: [
FRONTEND,
UI
path.join(UI, 'shared', 'fonts')
],
},
{