Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Oct 25, 2024
1 parent 101473e commit 243c51a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion code/addons/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://opencollective.com/storybook"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand All @@ -46,7 +47,7 @@
},
"./preview": {
"types": "./dist/preview.d.ts",
"defau;t": "./dist/preview.js"
"default": "./dist/preview.js"
},
"./manager": "./dist/manager.js",
"./preset": "./dist/preset.js",
Expand Down
2 changes: 1 addition & 1 deletion code/addons/test/src/node/boot-test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const MAX_START_TIME = 30000;

// This path is a bit confusing, but essentially `boot-test-runner` gets bundled into the preset bundle
// which is at the root. Then, from the root, we want to load `node/vitest.mjs`
const vitestModulePath = join(__dirname, 'node', 'vitest.mjs');
const vitestModulePath = join(__dirname, 'node', 'vitest.js');

let child: null | ChildProcess;
let ready = false;
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/angular/src/builders/builders.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"builders": {
"build-storybook": {
"implementation": "./build-storybook",
"implementation": "./build-storybook/index.js",
"schema": "./build-storybook/schema.json",
"description": "Build storybook"
},
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/src/swc/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { Options } from 'storybook/internal/types';
import { getVirtualModules } from '@storybook/builder-webpack5';

import type { NextConfig } from 'next';
import loadJsConfig from 'next/dist/build/load-jsconfig';
import loadJsConfig from 'next/dist/build/load-jsconfig.js';
import type { Configuration as WebpackConfig } from 'webpack';

export const configureSWCLoader = async (
Expand Down

0 comments on commit 243c51a

Please sign in to comment.