Lazily load trix

This commit is contained in:
Paul Chavard 2020-10-06 17:23:10 +02:00
parent 95eb907090
commit d8852c7dc5
4 changed files with 12 additions and 2 deletions

View file

@ -1,8 +1,6 @@
import '../shared/polyfills';
import Rails from '@rails/ujs';
import * as ActiveStorage from '@rails/activestorage';
import 'trix';
import '@rails/actiontext';
import 'whatwg-fetch'; // window.fetch polyfill
import ReactRailsUJS from 'react_ujs';