Merge pull request #593

This commit is contained in:
symfony-flex-server[bot]
2019-06-01 12:50:11 +00:00
committed by GitHub
@@ -1,5 +1,11 @@
var Encore = require('@symfony/webpack-encore');
// Manually configure the runtime environment if not already configured yet by the "encore" command.
// It's useful when you use tools that rely on webpack.config.js file.
if (!Encore.isRuntimeEnvironmentConfigured()) {
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
}
Encore
// directory where compiled assets will be stored
.setOutputPath('public/build/')