mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make trix a peer dependency of actiontext since it’s not used directly
This commit is contained in:
parent
05350eda9b
commit
11b73c40c2
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
import * as Trix from "trix"
|
||||
import { AttachmentUpload } from "./attachment_upload"
|
||||
|
||||
addEventListener("trix-attachment-add", event => {
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"trix": "^1.0.0",
|
||||
"@rails/activestorage": "^6.0.0-alpha"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"trix": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue