Skip to content

Commit

Permalink
fix(assets): only import script.js and admin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
domtra committed Dec 4, 2019
1 parent f29a2e2 commit c9d1c25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function importAll (r) {
r.keys().forEach(r)
}

importAll(require.context('../Components/', true, /admin\.js$/))
importAll(require.context('../Components/', true, /\/admin\.js$/))
2 changes: 1 addition & 1 deletion assets/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ function importAll (r) {
r.keys().forEach(r)
}

importAll(require.context('../Components/', true, /script\.js$/))
importAll(require.context('../Components/', true, /\/script\.js$/))

0 comments on commit c9d1c25

Please sign in to comment.