1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-09-02 20:52:33 +02:00

Fixed Nginx caching config.

Fixed error caused by HammerJS.
Fixed issues with fontawesome.
Fixed other issues impacting SSR.
This commit is contained in:
Chung Leong
2019-01-14 23:02:58 +01:00
parent 1b46bd24ef
commit 36b3f5ff2a
32 changed files with 8998 additions and 1645 deletions

View File

@@ -49,12 +49,6 @@ 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',
@@ -86,6 +80,7 @@ var serverConfig = {
target: 'node',
output: {
path: Path.resolve('./server/client'),
publicPath: '/',
filename: 'app.js',
libraryTarget: 'commonjs2',
},