Skip to content

Core: Fix compat by disabling name mangling in esbuild require#22486

Merged
ndelangen merged 4 commits intostorybookjs:nextfrom
youngboy:fix-esbuild-keepnames
Jun 21, 2023
Merged

Core: Fix compat by disabling name mangling in esbuild require#22486
ndelangen merged 4 commits intostorybookjs:nextfrom
youngboy:fix-esbuild-keepnames

Conversation

@youngboy
Copy link
Contributor

Closes #19049

What I did

support stylus css preprocessor

How to test

  1. create storybook project
  2. add stylus

have only tests with vite-vue3 locally

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@valentinpalkovic valentinpalkovic added the patch:yes Bugfix & documentation PR that need to be picked to main branch label Jun 6, 2023
@valentinpalkovic valentinpalkovic requested a review from a team as a code owner June 6, 2023 13:57
@ndelangen ndelangen changed the title add keepNames option of interpret-requires esbuild Core: Improve compatibility, do not mangle names in interpret-requires with esbuild Jun 21, 2023
@ndelangen ndelangen merged commit 5021c4f into storybookjs:next Jun 21, 2023
@shilman shilman changed the title Core: Improve compatibility, do not mangle names in interpret-requires with esbuild Core: Improve compat by removing name mangling in esbuild interpret-require Jun 21, 2023
@shilman shilman changed the title Core: Improve compat by removing name mangling in esbuild interpret-require Core: Fix compat by disabling name mangling in esbuild interpret-require Jun 21, 2023
@shilman shilman changed the title Core: Fix compat by disabling name mangling in esbuild interpret-require Core: Fix compat by disabling name mangling in esbuild require Jun 21, 2023
@github-actions github-actions bot mentioned this pull request Jun 22, 2023
18 tasks
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Jun 27, 2023
@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Oct 28, 2025
@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug patch:done Patch/release PRs already cherry-picked to main/release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[7.0 alpha] webpack stylus loader doesn't work anymore

5 participants