disable loading BS in the TS context (for now)
This commit is contained in:
parent
abf772448e
commit
6f37a0f0c3
|
@ -14,6 +14,7 @@ export default function initialize(): void {
|
|||
|
||||
files.keys().forEach((key) => {
|
||||
if (key === './index.ts') return;
|
||||
if (key.startsWith('./_')) return;
|
||||
files(key).default();
|
||||
});
|
||||
}
|
|
@ -10,12 +10,12 @@
|
|||
%link{ rel: 'icon', href: '/icon-152.png', sizes: '152x152' }
|
||||
%link{ rel: 'icon', href: '/images/favicon/favicon-32.png', sizes: '32x32' }
|
||||
%title= yield(:title)
|
||||
= stylesheet_link_tag 'application', media: 'all', data: { 'turbolinks-track': true }
|
||||
= javascript_pack_tag 'application', data: { 'turbolinks-track': true }
|
||||
= javascript_pack_tag 'legacy', data: { 'turbolinks-track': true }
|
||||
= stylesheet_pack_tag 'legacy', data: { 'turbolinks-track': true }
|
||||
= stylesheet_link_tag 'application', media: 'all', data: { 'turbolinks-track': 'reload' }
|
||||
= javascript_pack_tag 'application', data: { 'turbolinks-track': 'reload' }
|
||||
= javascript_pack_tag 'legacy', data: { 'turbolinks-track': 'reload' }
|
||||
= stylesheet_pack_tag 'legacy', data: { 'turbolinks-track': 'reload' }
|
||||
- if user_signed_in? && current_user.mod?
|
||||
= javascript_pack_tag 'legacy-moderation', data: { 'turbolinks-track': true }
|
||||
= javascript_pack_tag 'legacy-moderation', data: { 'turbolinks-track': 'reload' }
|
||||
= csrf_meta_tags
|
||||
%body
|
||||
- if user_signed_in?
|
||||
|
|
Loading…
Reference in New Issue