Skip to content

Commit

Permalink
Remove old alchemy_admin files from sprockets builds
Browse files Browse the repository at this point in the history
We do not need this file anymore now that we use importmaps.
Keeping the file will cause admin screens to error.
  • Loading branch information
tvdeyen committed Jul 5, 2023
1 parent f4ff33f commit 22072b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/alchemy/upgrader/seven_point_zero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class Upgrader::SevenPointZero < Upgrader

class << self
def remove_admin_entrypoint
FileUtils.rm_rf "app/assets/builds/alchemy_admin.*"
FileUtils.rm_rf "app/javascript/packs/alchemy/admin.js"
FileUtils.rm_rf "app/javascript/packs/alchemy_admin.js"
FileUtils.rm_rf "app/javascript/packs/alchemy"
Expand Down

0 comments on commit 22072b3

Please sign in to comment.