We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0800539 commit 3c583b5Copy full SHA for 3c583b5
symfony/webpack-encore-bundle/1.0/webpack.config.js
@@ -1,5 +1,7 @@
1
var Encore = require('@symfony/webpack-encore');
2
3
+// Manually configure the runtime environment if not already configured yet by the "encore" command.
4
+// It's useful when you use tools that rely on webpack.config.js file.
5
if (!Encore.isRuntimeEnvironmentConfigured()) {
6
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
7
}
0 commit comments