diff --git a/.babelrc.json b/.babelrc.json deleted file mode 100644 index 9164ce7ce..000000000 --- a/.babelrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "sourceType": "unambiguous", - "presets": [ - [ - "@babel/preset-env", - { - "targets": { - "chrome": 100, - "safari": 15, - "firefox": 91 - } - } - ], - "@babel/preset-typescript", - "@babel/preset-react" - ], - "plugins": [] -} diff --git a/.storybook/main.js b/.storybook/main.js index 96626e47e..258d67e41 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -45,4 +45,29 @@ module.exports = { docs: { autodocs: true, }, + + core: { + disableTelemetry: true, + }, + + babel: (config) => { + return { + sourceType: 'unambiguous', + presets: [ + [ + '@babel/preset-env', + { + targets: { + chrome: 100, + safari: 15, + firefox: 91, + }, + }, + ], + '@babel/preset-typescript', + '@babel/preset-react', + ], + plugins: [], + }; + }, }; diff --git a/package.json b/package.json index cc711aefa..911630257 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,6 @@ "dependencies": { "@headlessui/react": "^1.7.16", "@popperjs/core": "^2.11.8", - "@storybook/addon-styling": "^1.3.6", "@tippyjs/react": "^4.2.6", "@types/lodash": "^4.14.197", "clsx": "^1.2.1", @@ -120,6 +119,7 @@ "@storybook/addon-essentials": "^7.3.1", "@storybook/addon-interactions": "^7.3.1", "@storybook/addon-links": "^7.3.1", + "@storybook/addon-styling": "^1.3.6", "@storybook/react": "^7.3.1", "@storybook/react-webpack5": "^7.3.1", "@storybook/storybook-deployer": "^2.8.16",