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