Avoid loading rails-ujs twice on vanilla flavour

lolsob-rspec
Thibaut Girka 2018-07-16 16:42:52 +02:00
parent 4ec907e413
commit 27be4fa311
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,5 @@
// This file will be loaded on all pages, regardless of theme.
import { start } from 'rails-ujs';
import 'font-awesome/css/font-awesome.css';
require.context('../images/', true);
start();

View File

@ -1,3 +1,7 @@
import { start } from 'rails-ujs';
start();
import 'flavours/glitch/styles/index.scss';
// This ensures that webpack compiles our images.