docs: add universal guide with production client app - with JK’s edits (#18707)

PR Close #18707
This commit is contained in:
Ward Bell
2017-10-06 14:34:29 -07:00
committed by Chuck Jazdzewski
parent 555b1cdf29
commit 0ea5f8b5ed
6 changed files with 70 additions and 149 deletions

View File

@ -16,7 +16,7 @@ module.exports = {
},
target: 'node',
output: {
path: 'dist',
path: __dirname + '/dist',
filename: 'server.js'
},
plugins: [
@ -28,7 +28,6 @@ module.exports = {
// copy assets to the output (/dist) folder
new CopyWebpackPlugin([
{from: 'src/index-universal.html'},
{from: 'src/favicon.ico'},
{from: 'src/styles.css'},
{from: 'node_modules/core-js/client/shim.min.js'},
{from: 'node_modules/zone.js/dist/zone.min.js'},