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:
@@ -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',
|
||||
},
|
||||
|
Reference in New Issue
Block a user