Skip to content

Commit

Permalink
Keep Vite CommonJS config file for the moment (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek authored Dec 5, 2023
1 parent a25001b commit a4af00f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .storybook/main.mts → .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { StorybookConfig } from "@storybook/react-vite";
import { version } from "../package.json";
const { version } = require("../package.json");

const config: StorybookConfig = {
/** @type {import('@storybook/react-vite').StorybookConfig} */
module.exports = {
stories: ["../packages/lake/__stories__/**/*.stories.@(ts|tsx)"],
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
framework: {
Expand Down Expand Up @@ -42,5 +42,3 @@ const config: StorybookConfig = {
};
},
};

export default config;
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"include": ["vite.config.mts"],
"include": ["vite.config.ts"],
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Node",
Expand Down
File renamed without changes.

0 comments on commit a4af00f

Please sign in to comment.