Skip to content

Commit

Permalink
Purge alpinejs artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Feb 15, 2024
1 parent c3db53b commit 8ddce65
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ Come join the party with over 2200+ like-minded friendly Rails/Hotwire enthusias
- [rails](https://rubygems.org/gems/rails) `>= 6.1`
- [turbo-rails](https://rubygems.org/gems/turbo-rails) `>= 1.1`
- [@hotwired/turbo-rails](https://www.npmjs.com/package/@hotwired/turbo-rails) `>= 7.2`
- [alpinejs](https://www.npmjs.com/package/alpinejs) `>= 3.13`
- [@alpinejs/morph](https://www.npmjs.com/package/@alpinejs/morph) `>= 3.13`
- [idiomorph](https://github.com/bigskysoftware/idiomorph)

## Installation

Expand Down
15 changes: 9 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"tailwindcss": "^3.4.1"
},
"scripts": {
"build": "esbuild app/javascript/index.js --bundle --minify --sourcemap --external:alpinejs --external:@alpinejs/morph --external:@hotwired/turbo-rails --format=esm --target=es2020,chrome79,edge44,firefox71,opera65,safari13 --outfile=app/assets/builds/@turbo-boost/streams.js"
"build": "esbuild app/javascript/index.js --bundle --minify --sourcemap --external:@hotwired/turbo-rails --format=esm --target=es2020,chrome79,edge44,firefox71,opera65,safari13 --outfile=app/assets/builds/@turbo-boost/streams.js"
}
}
2 changes: 0 additions & 2 deletions test/dummy/config/importmap.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# frozen_string_literal: true

pin "@alpinejs/morph", to: "@alpinejs--morph.js" # @3.13.5
pin "@hotwired/stimulus", to: "@hotwired--stimulus.js" # @3.2.2
pin "@hotwired/turbo", to: "@hotwired--turbo.js" # @8.0.2
pin "@hotwired/turbo-rails", to: "@hotwired--turbo-rails.js" # @8.0.2
pin "@rails/actioncable", to: "@rails--actioncable.js" # @7.1.3
pin "@rails/actioncable/src", to: "@rails--actioncable--src.js" # @7.1.3
pin "alpinejs" # @3.13.5

# NOTE: Flowbite stops working if we allow Rails to vendor it
pin "flowbite", to: "https://ga.jspm.io/npm:flowbite@1.5.3/dist/flowbite.js"
Expand Down

0 comments on commit 8ddce65

Please sign in to comment.