Skip to content

Commit 841df55

Browse files
committed
chore: change vite options
1 parent 454b48b commit 841df55

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

playwright/playwright.config.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,22 @@ const config: PlaywrightTestConfig = {
5858
timezoneId: 'UTC',
5959
ctCacheDir: process.env.IS_DOCKER ? '.cache-docker' : '.cache',
6060
ctViteConfig: {
61-
//@ts-ignore
61+
css: {
62+
preprocessorOptions: {
63+
scss: {
64+
api: 'modern-compiler',
65+
},
66+
},
67+
},
6268
plugins: [
63-
//@ts-ignore
6469
react(),
65-
//@ts-ignore
6670
svgrPlugin({
6771
include: '**/*.svg',
6872
}),
6973
],
7074
resolve: {
7175
alias: {
7276
'~playwright': resolve(__dirname),
73-
'~@gravity-ui/uikit/styles/mixins': '@gravity-ui/uikit/styles/mixins',
74-
'~@doc-tools/transform/dist/css/yfm': '@doc-tools/transform/dist/css/yfm.css',
75-
'~@gravity-ui/uikit/styles/fonts.scss': '@gravity-ui/uikit/styles/fonts.scss',
7677
},
7778
},
7879
},

0 commit comments

Comments
 (0)