diff --git a/.vscode/settings.json b/.vscode/settings.json index f2c81bdbfd..b84d9eebda 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -27,5 +27,6 @@ "eds-tokens", "eds-utils", "eds-config-custom" - ] + ], + "cSpell.words": ["Overridable"] } diff --git a/packages/eds-core-react/.storybook/preview.mjs b/packages/eds-core-react/.storybook/preview.mjs index e5c70e99c5..d74e99eb1a 100644 --- a/packages/eds-core-react/.storybook/preview.mjs +++ b/packages/eds-core-react/.storybook/preview.mjs @@ -1,5 +1,5 @@ -import '@equinor/eds-tokens/css/color/primitives.css' -import '@equinor/eds-tokens/css/color/theme.css' +import '@equinor/eds-tokens/css/color/primitives' +import '@equinor/eds-tokens/css/color/theme' const preview = { viewMode: 'docs', diff --git a/packages/eds-core-react/tsconfig.json b/packages/eds-core-react/tsconfig.json index 1eb105432e..6429bc0aed 100644 --- a/packages/eds-core-react/tsconfig.json +++ b/packages/eds-core-react/tsconfig.json @@ -8,7 +8,8 @@ "isolatedModules": true, "outDir": "./dist", "baseUrl": ".", - "types": ["@testing-library/jest-dom"] + "types": ["@testing-library/jest-dom"], + "moduleResolution": "Bundler" }, "include": ["./src/**/*", "./jest.setup.ts"], "exclude": ["node_modules"]