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

Refactored routing code.

Implemented periodic freshness check (issue #8).
Implemented proper cache purge (issue #10).
Implemented compression in Node side.
Implemented JSON retrieval through Node.
This commit is contained in:
Chung Leong
2019-01-21 22:03:44 +01:00
parent e03bddcb6b
commit ddea511ee7
30 changed files with 485 additions and 316 deletions

View File

@@ -17,7 +17,7 @@ var clientConfig = {
output: {
path: Path.resolve('./server/www'),
publicPath: '/',
filename: 'app.js',
filename: 'front-end.js',
},
resolve: {
extensions: [ '.js', '.jsx' ],
@@ -81,7 +81,7 @@ var serverConfig = {
output: {
path: Path.resolve('./server/client'),
publicPath: '/',
filename: 'app.js',
filename: 'front-end.js',
libraryTarget: 'commonjs2',
},
resolve: clientConfig.resolve,