-
-
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
Angular v10 issue with vendor packages #11433
Comments
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
Same error tried the fix but it's not working... Very poor support for @angular :( @ |
@nicolae536 Try upgrading to 6.2. We just released a bunch of improvements there.
|
Thanks for tips @shilman . I managed to fix it by changing this -> I also updated to latest version. In {
"extends": "../src/tsconfig.app.json",
"compilerOptions": {
"target": "ES6", -> Target "ES6" seems to work
"types": [
"node"
]
},
"lib": [
"es2017",
"es2018",
"es2019",
"dom"
],
"exclude": [
"../src/test.ts",
"../src/**/*.spec.ts",
"../src/service-worker/**/*",
"../src/app/**/*",
"../src/test-helpers/**/*"
],
"include": [
"../src/libs/**/*",
],
"files": [
"./typings.d.ts"
]
}
|
Describe the bug
Storybook does not load ES2015 bundles, leading to runtime errors in Angular v10 applications.
supportES2015
is always set tofalse
) in the loader config.To Reproduce
npm ci
ingrid-app
npm run storybook
The example uses the Kendo UI Grid, but presumably the issue is not limited to it.
Expected behavior
The Storybook app should load ES2015 bundles, whenever available.
Screenshots
System:
Additional context
The problem can be worked around by overriding the Webpack configuration in
.storybook/webpack.config.js
.See the fix-modules branch for a runnable demo with this workaround.
Originally reported by @aishwaryasharma14
The text was updated successfully, but these errors were encountered: