-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SyntaxError: Illegal 'use strict' directive #1063
Comments
Same here, error in build process with Vite. [commonjs] Illegal 'use strict' directive in function with non-simple parameter list (8:1) in /node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js
package: {
"vite": "^2.9.9",
"localforage": "^1.10.0",
} |
Same even here in build with vite: package:
|
The same error occurs with vite v3.0.0. |
ran into this as well. |
facing the same issue as well
|
Same issue. Quasar + Vite + LF 1.10.0 |
same issue, is there a workaround for this? |
Since there hasn't been any movement in this repo for over a year, I suspect this won't get addressed any time soon, or probably ever. We've moved away from localforage and simply use |
Anyone find a workaround with this? Also seeing this while moving to vite |
While compiling with vite we get the following error:
It seems the bundle doesn't respect usage of "use strict"
The text was updated successfully, but these errors were encountered: