Skip to content

Commit c13473b

Browse files
committed
fix: install specific versions of encore and its peer dependencies
1 parent 1faef6c commit c13473b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

commands/Invoke.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ export default class Configure extends BaseCommand {
7171
* Install Encore
7272
*/
7373
const pkgFile = new files.PackageJsonFile(this.application.appRoot)
74-
pkgFile.install('@symfony/webpack-encore')
75-
pkgFile.install('webpack')
76-
pkgFile.install('webpack-cli')
77-
pkgFile.install('@babel/core')
78-
pkgFile.install('@babel/preset-env')
79-
pkgFile.useClient(this.getPackageManager())
74+
pkgFile.install('@symfony/webpack-encore@4.1.1');
75+
pkgFile.install('webpack@5.72');
76+
pkgFile.install('webpack-cli@4.9.1');
77+
pkgFile.install('@babel/core@7.17.0');
78+
pkgFile.install('@babel/preset-env@7.16.0');
79+
pkgFile.useClient(this.getPackageManager())
8080

8181
const spinner = logger.await(logger.colors.gray('configure @symfony/webpack-encore'))
8282

0 commit comments

Comments
 (0)