These are chat archives for AngularClass/NG6-starter

28th
Jan 2018
Matias Fernandez Martinez
@thematho
Jan 28 2018 00:52
@Belinskiy21 what have you configured on your web.js file or your procfile?
Matias Fernandez Martinez
@thematho
Jan 28 2018 01:10
@Belinskiy21 You should use npm scripts to build the project (by default ng6-starter uses this) check on https://devcenter.heroku.com/articles/node-best-practices#hook-things-up
Fyodor
@loenko
Jan 28 2018 03:50
@oscarandrespabonestrella looks like my answer's too late but...))) I guess you can try test: /\.(jpe?g|gif|png|svg|woff|ttf|wav|mp3)$/, loader: "file-loader?name='[path][name].[ext]?[hash]'
Belinskiy21
@Belinskiy21
Jan 28 2018 05:10
@thematho my Procfile contains : web: node --optimize_for_size --max_old_space_size=920 --gc_interval=100 server.js
package.json : "scripts": {
"postinstall": "gulp install && gulp webpack build",
"build": "gulp webpack",
"component": "gulp component",
"serve": "gulp serve",
"start": "gulp serve",
"test": "karma start",
"watch": "gulp serve",
"webpack": "gulp webpack"