File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,17 @@ which you may have installed to enable extra features:
43
43
an example, temporarily delete your ` .eslintrc.js ` file and run Encore.
44
44
The error will show you a Babel configuration file you can use.
45
45
46
+ * With ` configureDefinePlugin() ` , the ` options['process.env'] ` key format
47
+ passed to the callback has changed (see #960 ). If you are using ` configureDefinePlugin() `
48
+ to add more items to ` process.env ` , your code will need to change:
49
+
50
+ ``` diff
51
+ Encore.configureDefinePlugin((options) => {
52
+ - options['process.env']['SOME_VAR'] = JSON.stringify('the value');
53
+ + options['process.env.SOME_VAR'] = JSON.stringify('the value');
54
+ })
55
+ ````
56
+
46
57
# # [v1.8.2](https://github.com/symfony/webpack-encore/releases/tag/v1.8.2)
47
58
48
59
*Mar 17th, 2022*
You can’t perform that action at this time.
0 commit comments