Skip to content

Commit 7e60e74

Browse files
committed
update readme
1 parent c4951ca commit 7e60e74

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ content will be shown after loading
3333

3434
For examples see [`dev/`](dev/).
3535

36+
#### Module build failed: SyntaxError: 'with' in strict mode
37+
Currently [buble](https://gitlab.com/Rich-Harris/buble) is injecting `strict` mode in all processed js files. The down to ES5 compiled component contains `with`, which is forbidden in `strict` mode.
38+
Buble is used, for example, in rollup, which is used in laravel.
39+
40+
If you are running in this problem, make sure to exclude this component from processing with buble.
41+
3642
#### Webpack
3743
If your assets are organized by webpack, this should work:
3844
```html

0 commit comments

Comments
 (0)