feature/share-libs
js 17 lines 645 Bytes
Raw
1 // This file is automatically compiled by Webpack, along with any other files
2 // present in this directory. You're encouraged to place your actual application logic in
3 // a relevant structure within app/javascript and only use these pack files to reference
4 // that code so it'll be compiled.
5
6 import Rails from "@rails/ujs"
7 import Turbolinks from "turbolinks"
8 import * as ActiveStorage from "@rails/activestorage"
9 import '../javascripts/application'
10 import '../stylesheets/application.scss'
11
12 const images = require.context('../images', true)
13 const imagePath = (name) => images(name, true)
14
15 Rails.start()
16 Turbolinks.start()
17 ActiveStorage.start()