1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-09-03 21:22:34 +02:00

Removed dependency on CDN version of Font Awesome.

This commit is contained in:
Chung Leong
2018-12-23 23:12:10 +01:00
parent 1beee9bdc1
commit 8848b21aed
5 changed files with 1737 additions and 1 deletions

View File

@@ -49,6 +49,23 @@ var clientConfig = {
use: 'css-loader!sass-loader',
})
},
{
test: /\.less$/,
use: ExtractTextPlugin.extract({
use: 'css-loader!less-loader',
})
},
{
test: /fonts.*\.woff2?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'file-loader',
},
{
test: /fonts.*\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'file-loader',
query: {
emitFile: false,
}
},
]
},
plugins: [