5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 19:46:23 +00:00

fix: poder importar htmx en producción

This commit is contained in:
f 2024-03-22 18:46:21 -03:00
parent fb38600884
commit 736f0552f7
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -34,4 +34,4 @@ Rails.start()
Turbolinks.start() Turbolinks.start()
ActiveStorage.start() ActiveStorage.start()
window.htmx = require('htmx.org/dist/htmx') window.htmx = require('htmx.org/dist/htmx.js')

View file

@ -21,6 +21,7 @@
"commonmark": "^0.29.0", "commonmark": "^0.29.0",
"fork-awesome": "^1.1.7", "fork-awesome": "^1.1.7",
"fork-ts-checker-webpack-plugin": "^6.1.0", "fork-ts-checker-webpack-plugin": "^6.1.0",
"htmx.org": "^1.9.11",
"input-map": "git+https://0xacab.org/sutty/input-map.git", "input-map": "git+https://0xacab.org/sutty/input-map.git",
"input-tag": "git+https://0xacab.org/sutty/input-tag.git", "input-tag": "git+https://0xacab.org/sutty/input-tag.git",
"leaflet": "^1.7.1", "leaflet": "^1.7.1",
@ -34,7 +35,6 @@
"zepto": "^1.2.0" "zepto": "^1.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/rails__activestorage": "^6.0.0", "@types/rails__activestorage": "^6.0.0"
"htmx.org": "^1.9.11"
} }
} }