-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Addon-Docs: source-loader has non-ES5-friendly template literals in output #7388
Comments
There's also some arrow functions, etc. throughout. Haven't seen that with the other I notice that tsconfig.json sets its target to I suspect that the general strategy in the What I don't know is whether |
Well source-loader is almost nodejs only. We need to rethink the way storysource uses the source-loader to completely get rid of it in the frontend |
Unfortunately it seems that this task is more urgent than expected. Michael ? @shilman |
@libetl I think migrating Storysource to use parameters & removing decorators from source-loader is important from a code hygiene standpoint. I'm hoping this issue can get solved in the process. |
makes sense |
Maybe I will find some time during the week end to help. |
That would be 💯💯💯 |
Fixed in 5.2.0-beta.5? |
The output file
@storybook/source-loader/dist/events.js
is below:(comment mine)
Consequently, in IE11, the stories don't load and it logs this error:
Line
201390:24
is the first backtick in`${ADDON_ID}/set`
System:
@libetl @shilman
The text was updated successfully, but these errors were encountered: