Commit 60c65ed
authored
fix(live-preview-vue): update build config to compile as esm (#14293)
The distributed files for `@payloadcms/live-preview-vue` are compiled to
commonjs instead of ESM, which causes issues in ESM based projects like
when using Nuxt.
This PR fixes this issue by updating the built config to be `es6`,
matching what most other packages are using.
Related to #128061 parent 306974d commit 60c65ed
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
0 commit comments