|
|
@ -7,7 +7,7 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin'); |
|
|
|
const ManifestRevisionPlugin = require('manifest-revision-webpack-plugin'); |
|
|
|
const ManifestRevisionPlugin = require('manifest-revision-webpack-plugin'); |
|
|
|
|
|
|
|
|
|
|
|
// take debug mode from the environment
|
|
|
|
// take debug mode from the environment
|
|
|
|
const debug = (process.env.NODE_ENV !== 'prod'); |
|
|
|
const debug = (process.env.NODE_ENV !== 'production'); |
|
|
|
|
|
|
|
|
|
|
|
// Development asset host (webpack dev server)
|
|
|
|
// Development asset host (webpack dev server)
|
|
|
|
const publicHost = debug ? 'http://localhost:2992' : ''; |
|
|
|
const publicHost = debug ? 'http://localhost:2992' : ''; |
|
|
|