These are chat archives for AngularClass/angular2-webpack-starter

8th
Aug 2017
Dani
@Dinodanio
Aug 08 2017 13:11

Hey there, i get this error:

npm WARN extract-text-webpack-plugin@2.1.2 requires a peer of webpack@^2.2.0 but none was installed.
npm WARN webpack-dev-server@2.4.5 requires a peer of webpack@^2.2.0 but none was installed.

I have webpack 3.3.0

erictraub
@erictraub
Aug 08 2017 15:54
Hi, I am wondering how to server our production build from the same server that we serve in the dev environment? Right now we server dev build with npm start (builds and hosts) and we serve our production (AOT) build with a custom node server. We want to standardize the process and always serve the app from the same server (preferably the server that hosts the dev build when npm start is ran). How could we do this?