Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with minify after upgrade from 8.0.10 to 8.0.11 #1330

Open
izu23 opened this issue Oct 24, 2024 · 0 comments
Open

Error with minify after upgrade from 8.0.10 to 8.0.11 #1330

izu23 opened this issue Oct 24, 2024 · 0 comments

Comments

@izu23
Copy link

izu23 commented Oct 24, 2024

After i upgraded from version 8.0.10 to 8.0.11 i got the following issue:

Uncaught TypeError: ya is not a function

at this positon:

function bi(t, n) {
return ya(t, n) && !nt.drive.unvisitableExtensions.has(_a(t))
}

im using this build
"build": "esbuild app/javascript/application.js --bundle --minify --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets --tree-shaking=false"

these are my dependencies

"dependencies": {
"@hotwired/turbo": "8.0.10",
"@hotwired/turbo-rails": "8.0.10",
"blueimp-file-upload": "^10.32.0",
"esbuild": "^0.21.5",
"jquery": "^3.7.1",
"sass": "^1.80.4"
},
"resolutions": {
"@hotwired/turbo": "8.0.10"
}

and im using node 22.8.0

this is my application.js

import './src/init_jquery';
import './vendor/jquery-ui';
import "@hotwired/turbo-rails"

and this the init_jquery.js

import jquery from 'jquery';
window.$ = jquery;
window.jQuery = jquery;
$ = jquery;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant