Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
1da7d72
Abort the play function on HMR event
ghengeveld May 21, 2025
b494c7e
Change interactions panel status badge to be based on renderPhase
ghengeveld May 22, 2025
b928ab6
Correctly track and sync renderPhase in instrumenter, including abort…
ghengeveld May 22, 2025
0c0932a
Only switch to aborted phase when not yet aborted
ghengeveld May 22, 2025
7f37fb7
Avoid setState with undefined key
ghengeveld May 22, 2025
bcde35d
Hoist mapping
ghengeveld May 23, 2025
6b5c7ea
Don't change how cancelRender works, for now
ghengeveld May 23, 2025
4f02ffb
Merge branch 'next' into abort-play-on-hmr
ghengeveld May 23, 2025
8edbc1c
Merge branch 'next' into abort-play-on-hmr
ghengeveld Jun 13, 2025
00bee5c
Merge branch 'next' into abort-play-on-hmr
valentinpalkovic Jun 16, 2025
31630e3
Core: Fix moving log file across disks
ghengeveld Jul 11, 2025
ff92ee5
Sort keys in CircleCI config.yml to prep for config packing
ghengeveld Jul 14, 2025
72042bb
Split CircleCI config into multiple files, using config packing
ghengeveld Jul 11, 2025
7128fce
Formatting
ghengeveld Jul 11, 2025
d652280
Add some debug logging around framework detection
ghengeveld Jul 14, 2025
ecbc2fd
Use process.write rather than logger.debug
ghengeveld Jul 15, 2025
2b126f8
Log cwd and project root
ghengeveld Jul 15, 2025
e6cb0b8
Merge branch 'next' into abort-play-on-hmr
ghengeveld Jul 15, 2025
dbc6ee9
More logging
ghengeveld Jul 15, 2025
3018f59
docs: remove deprecated vscode extension
Joe-Moran Jul 18, 2025
e750882
chore: apply suggested name change
Joe-Moran Jul 19, 2025
e0a1829
Merge branch 'storybookjs:next' into patch-4
Joe-Moran Jul 19, 2025
0449c00
docs: update naming of extension from Volar to Vue
Joe-Moran Jul 19, 2025
4ba4042
Run Verdaccio in background task and wait for it to have started
ghengeveld Jul 21, 2025
507d869
Merge branch 'next' into circleci-config-pack
ghengeveld Jul 21, 2025
81bd4da
Merge pull request #32025 from storybookjs/circleci-config-pack
ghengeveld Jul 21, 2025
dd7fd4b
Merge branch 'next' into abort-play-on-hmr
yannbf Jul 21, 2025
6048885
Fix __dirname check to avoid npm-cache, move it to be the last check …
ghengeveld Jul 21, 2025
32ae86f
Simplify
ghengeveld Jul 21, 2025
94fcbf4
Merge branch 'next' into patch-4
jonniebigodes Jul 21, 2025
6128cb4
Merge pull request #32079 from Joe-Moran/patch-4
jonniebigodes Jul 21, 2025
a1e3156
Merge branch 'next-release' into next
storybook-bot Jul 22, 2025
e049db6
Use distinct color for bail/aborted state
ghengeveld Jul 22, 2025
1e3956e
React Native Web: Simplify config by using vite-plugin-rnw
dannyhw Jul 16, 2025
ac7f6da
deprecate instead of removing option
dannyhw Jul 17, 2025
edd69a1
remove unused types file
dannyhw Jul 17, 2025
68b333a
feat: add a modules to transpile option
dannyhw Jul 17, 2025
89b9a32
fix: use latest version
dannyhw Jul 20, 2025
ce4d0d7
Update code/frameworks/react-native-web-vite/src/types.ts
dannyhw Jul 21, 2025
281a68f
Update docs/get-started/frameworks/react-native-web-vite.mdx
dannyhw Jul 21, 2025
7e24f06
Update docs/get-started/frameworks/react-native-web-vite.mdx
dannyhw Jul 21, 2025
37f8258
Update CHANGELOG.md for v9.0.18 [skip ci]
storybook-bot Jul 22, 2025
a6ed70e
Merge pull request #32051 from storybookjs/dannyhw/feat/use-vite-plug…
shilman Jul 22, 2025
6f1af09
Play status is now detached from story status, so we expect a pass fo…
ghengeveld Jul 22, 2025
ee8b267
Merge branch 'next' into fix-rename-across-disks
ghengeveld Jul 22, 2025
4345344
Refactor upgrade process to use AutomigrationResult type for project …
yannbf Jul 22, 2025
6aeb2e3
Merge pull request #31542 from storybookjs/abort-play-on-hmr
ghengeveld Jul 22, 2025
4a5d3f5
Merge pull request #32020 from storybookjs/fix-rename-across-disks
ghengeveld Jul 22, 2025
9b42715
Test: Fix missing source map for Webpack mock loaders
valentinpalkovic Jul 23, 2025
b914f50
Refactor viteMockPlugin load handler to improve path normalization an…
valentinpalkovic Jul 23, 2025
c22986b
Merge pull request #32111 from storybookjs/valentin/fix-missing-sourc…
valentinpalkovic Jul 23, 2025
63d0170
Merge pull request #32103 from storybookjs/yann/automigration-failure…
valentinpalkovic Jul 23, 2025
8e94783
Refactor automigration prompt handling to use 'defaultSelected' property
yannbf Jul 23, 2025
dffce73
Merge pull request #32113 from storybookjs/yann/default-select-automi…
yannbf Jul 24, 2025
d901add
Remove source map generation from webpack automock-loader
valentinpalkovic Jul 24, 2025
667dfbc
Merge pull request #32115 from storybookjs/valentin/remove-source-map…
valentinpalkovic Jul 24, 2025
dccd7ae
Write changelog for 9.1.0-alpha.10 [skip ci]
storybook-bot Jul 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove source map generation from webpack automock-loader
  • Loading branch information
valentinpalkovic committed Jul 24, 2025
commit d901add7644a8f1d08a121e0e457c12ea3b3c0f4
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ export default function webpackAutomockLoader(
) {
// Retrieve the options passed in the resource query string (e.g., `?spy=true`).
const options = this.getOptions();
const callback = this.async();
const isSpy = options.spy === 'true';

// Generate the mocked source code using the utility from @vitest/mocker.
const mocked = getAutomockCode(source, isSpy, babelParser as any);

// Return the transformed code to Webpack for further processing.
callback(null, mocked.toString(), mocked.generateMap());
return mocked.toString();
}
Loading