-
Notifications
You must be signed in to change notification settings - Fork 370
Conversation
| "start": "NODE_PATH=\"./src\" node ./start", | ||
| "build": "node ./node_modules/webpack/bin/webpack.js --config webpack/prod.config.js", | ||
| "build": "npm run build:client & npm run build:server", | ||
| "build:server": "babel src -d dist -D", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you might want to include --copy-files to copy over any none js files.
http://stackoverflow.com/questions/32642685/babel-cli-copy-nonjs-files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-D does that :)
|
@ahmedre seems i need to do a kick commit for the changes to work... although it is a life saver. My dockerfile changes are not even propogating... |
|
so two things:
|
|
fails with node 6.3: and with node 5.10.0: will update with more information in a bit insha'Allah. |
| sourceMapFilename: '[name]-[chunkhash].map.js' | ||
|
|
||
| }, | ||
| context: path.resolve(__dirname, '../src'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change ../src to ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 30 - change ./client.js to ./src/client.js
|
after the above changes made, the image builds, but unfortunately doesn't work - the server continues, in an infinite loop, to do: |
|
Deployed to: http://staging.quran.com:32781 |
|
Deployed to: http://staging.quran.com:32782 |
|
Deployed to: http://staging.quran.com:32783 |
|
Deployed to: http://staging.quran.com:32784 |
|
Deployed to: http://staging.quran.com:32787 |
|
Deployed to: http://staging.quran.com:32789 |
|
Deployed to: http://staging.quran.com:32790 |
|
Deployed to: http://staging.quran.com:32792 |
|
Deployed to: http://staging.quran.com:32795 |
This should inshallah squeeze some speed on the server and client side.