1
0
Fork 0
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:
Javan Makhmali 2019-01-17 10:39:25 -05:00
parent 05350eda9b
commit 11b73c40c2
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,3 @@
import * as Trix from "trix"
import { AttachmentUpload } from "./attachment_upload"
addEventListener("trix-attachment-add", event => {

View file

@ -21,7 +21,9 @@
],
"license": "MIT",
"dependencies": {
"trix": "^1.0.0",
"@rails/activestorage": "^6.0.0-alpha"
},
"peerDependencies": {
"trix": "^1.0.0"
}
}