File tree 4 files changed +35
-4
lines changed
pnpm-with-external-babel-config
4 files changed +35
-4
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## [ v4.0.0] ( https://github.com/symfony/webpack-encore/releases/tag/v4.0.0 )
4
+
5
+ This major release makes Encore compatible with [ Yarn Plug'n'Play] ( https://yarnpkg.com/features/pnp ) and [ pnpm] ( https://pnpm.io/ ) .
6
+
7
+ ### BC Breaks
8
+
9
+ * The following dependencies ** must be added** in your ` package.json ` : ` webpack webpack-cli @babel/core @babel/preset-env ` (#1142 and #1150 ):
10
+ ``` shell
11
+ npm install webpack webpack-cli @babel/core @babel/preset-env --save-dev
12
+
13
+ # or via yarn
14
+ yarn add webpack webpack-cli @babel/core @babel/preset-env --dev
15
+ ```
16
+
17
+ * The following dependencies ** must be removed** from your ` package.json ` and Babel configuration: ` @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties ` ,
18
+ since they are already included in ` @babel/preset-env ` (#1150 ):
19
+ ``` shell
20
+ npm remove @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties
21
+
22
+ # or via yarn
23
+ yarn remove @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties
24
+ ```
25
+
26
+ and remove it from your Encore configuration:
27
+ ``` diff
28
+ Encore.configureBabel((options) => {
29
+ - config.plugins.push('@babel/plugin-proposal-class-properties');
30
+ +
31
+ })
32
+ ```
33
+
3
34
## [ v3.1.0] ( https://github.com/symfony/webpack-encore/releases/tag/v3.0.0 )
4
35
5
36
* August 24th, 2022*
13
44
This major release drops support for Node 12 (minimum is now Node 14) and
14
45
also bumps some dependencies up a new major version.
15
46
16
- ## BC Breaks
47
+ ### BC Breaks
17
48
18
49
* In #1122 support for Node 12 was dropped.
19
50
Original file line number Diff line number Diff line change 1
1
# Testing app: pnpm (with Babel)
2
2
3
- This testing app is used to test how Encore installation and usage work when using the [ ** pnpm** package manager] ( https://pnpm.io/fr/ ) .
3
+ This testing app is used to test how Encore installation and usage work when using the [ ** pnpm** package manager] ( https://pnpm.io/ ) .
4
4
5
5
## Installation
6
6
Original file line number Diff line number Diff line change 1
1
# Testing app: pnpm (with external Babel configuration file)
2
2
3
- This testing app is used to test how Encore installation and usage work when using the [ ** pnpm** package manager] ( https://pnpm.io/fr/ ) .
3
+ This testing app is used to test how Encore installation and usage work when using the [ ** pnpm** package manager] ( https://pnpm.io/ ) .
4
4
5
5
## Installation
6
6
Original file line number Diff line number Diff line change 1
1
# Testing app: pnpm
2
2
3
- This testing app is used to test how Encore installation and usage work when using the [ ** pnpm** package manager] ( https://pnpm.io/fr/ ) .
3
+ This testing app is used to test how Encore installation and usage work when using the [ ** pnpm** package manager] ( https://pnpm.io/ ) .
4
4
5
5
## Installation
6
6
You can’t perform that action at this time.
0 commit comments