-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change directory structure & move all app/javascript to app/assets
- Loading branch information
1 parent
dfccb12
commit 619eb2e
Showing
19 changed files
with
20 additions
and
41 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<% images_glob = Rails.application.root.join('app', 'assets', 'images', '**', '*.{png,jpg,svg}') %> | ||
<% Dir.glob(images_glob).each do |image| %> | ||
import '<%= image %>'; | ||
<% end %> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Application } from "stimulus"; | ||
import { definitionsFromContext } from "stimulus/webpack-helpers"; | ||
|
||
import "../images/index.js.erb"; | ||
import "../stylesheets/index.js.erb"; | ||
import "../javascripts/index.js"; | ||
|
||
const application = Application.start(); | ||
const context = require.context("javascripts/controllers", true, /.js$/); | ||
application.load(definitionsFromContext(context)); |
Empty file.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<% css_glob = Rails.application.root.join('app', 'assets', 'stylesheets', '**', '*.{css}') %> | ||
<% Dir.glob(css_glob).each do |file| %> | ||
import '<%= file %>'; | ||
<% end %> |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters