Skip to content

Commit dc49b90

Browse files
committed
adding note to help in upgrade path
1 parent f62a939 commit dc49b90

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ import { startStimulusApp } from '@symfony/stimulus-bridge';
3939
export const app = startStimulusApp(require.context('./controllers', true, /\.(j|t)sx?$/));
4040
```
4141

42+
If you get this error:
43+
44+
> ./assets/bootstrap.js contains a reference to the file @symfony/autoimport.
45+
> This file can not be found.
46+
47+
Remove the following line in the mentioned file: it's not needed anymore:
48+
49+
```diff
50+
// assets/bootstrap.js
51+
52+
// ...
53+
- import '@symfony/autoimport';
54+
```
55+
4256
## Run tests
4357

4458
```sh

0 commit comments

Comments
 (0)