Browse Source

Fix mailer to use webpack core

closed-social-glitch-2
kibi! 6 years ago
parent
commit
cda845ae0e
6 changed files with 7 additions and 2 deletions
  1. +1
    -0
      app/javascript/core/mailer.js
  2. +3
    -0
      app/javascript/core/theme.yml
  3. +1
    -0
      app/javascript/flavours/glitch/theme.yml
  4. +1
    -0
      app/javascript/flavours/vanilla/theme.yml
  5. +0
    -1
      app/javascript/packs/mailer.js
  6. +1
    -1
      app/views/layouts/mailer.html.haml

+ 1
- 0
app/javascript/core/mailer.js View File

@ -0,0 +1 @@
import 'styles/mailers.scss';

+ 3
- 0
app/javascript/core/theme.yml View File

@ -10,6 +10,9 @@ pack:
embed: embed.js
error:
home:
mailer:
filename: mailer.js
stylesheet: true
modal:
public: public.js
settings: settings.js

+ 1
- 0
app/javascript/flavours/glitch/theme.yml View File

@ -15,6 +15,7 @@ pack:
- flavours/glitch/async/getting_started
- flavours/glitch/async/home_timeline
- flavours/glitch/async/notifications
mailer:
modal:
public: packs/public.js
settings:

+ 1
- 0
app/javascript/flavours/vanilla/theme.yml View File

@ -15,6 +15,7 @@ pack:
- features/compose
- features/home_timeline
- features/notifications
mailer:
modal:
public: public.js
settings:

+ 0
- 1
app/javascript/packs/mailer.js View File

@ -1 +0,0 @@
require('../styles/mailer.scss');

+ 1
- 1
app/views/layouts/mailer.html.haml View File

@ -6,7 +6,7 @@
%title/
= stylesheet_pack_tag 'mailer'
= stylesheet_pack_tag 'core/mailer'
%body
%table.email-table{ cellspacing: 0, cellpadding: 0 }
%tbody

Loading…
Cancel
Save