@hotwired/turbo-rails 8.0.7 → 8.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +7 -1
package/package.json CHANGED
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "name": "@hotwired/turbo-rails",
3
- "version": "8.0.7",
3
+ "version": "8.0.9",
4
4
  "description": "The speed of a single-page web application without having to write any JavaScript",
5
5
  "module": "app/javascript/turbo/index.js",
6
6
  "main": "app/assets/javascripts/turbo.js",
7
7
  "files": [
8
8
  "app/javascript/turbo"
9
9
  ],
10
+ "exports": {
11
+ ".": {
12
+ "import": "./app/javascript/turbo/index.js",
13
+ "require": "./app/assets/javascripts/turbo.js"
14
+ }
15
+ },
10
16
  "scripts": {
11
17
  "build": "rollup -c",
12
18
  "prerelease": "yarn build && git --no-pager diff && echo && npm pack --dry-run && echo && read -n 1 -p \"Look OK? Press any key to publish and commit v$npm_package_version\" && echo",