Skip to content

Commit db2e5d2

Browse files
committed
moved index js to lib as well
1 parent 90647bb commit db2e5d2

File tree

4 files changed

+24
-26
lines changed

4 files changed

+24
-26
lines changed

app/javascript/matestack-ui-bootstrap/index.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

app/javascript/packs/matestack-ui-bootstrap.js

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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 javascript and only use these pack files to reference
4+
// that code so it'll be compiled.
5+
6+
import "./stylesheets/matestack-ui-bootstrap.scss";
7+
8+
import './components/alert'
9+
import './components/carousel'
10+
import './components/collapse'
11+
import './components/dropdown'
12+
import './components/modal'
13+
import './components/toast'
14+
import './components/popover'
15+
import './components/tooltip'
16+
import './layout/sidebar'
17+
import './layout/sidebar.scss'
18+
import './content/smart_collection/collection.scss'
19+
20+
const MatestackUiBootstrap = {}
21+
22+
window.MatestackUiBootstrap = MatestackUiBootstrap
23+
24+
export default MatestackUiBootstrap

app/javascript/matestack-ui-bootstrap/stylesheets/matestack-ui-bootstrap.scss renamed to lib/matestack/ui/bootstrap/stylesheets/matestack-ui-bootstrap.scss

File renamed without changes.

0 commit comments

Comments
 (0)