vite config
This commit is contained in:
parent
3243ad9b9c
commit
bb99b6dced
2 changed files with 1 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { addons } from '@storybook/manager-api';
|
||||
import theme from './Theme';
|
||||
import './add-ons/canvas-docs';
|
||||
// import './add-ons/canvas-docs';
|
||||
|
||||
addons.setConfig({
|
||||
isFullscreen: false,
|
||||
|
|
|
|||
|
|
@ -1,15 +1,7 @@
|
|||
import { defineConfig, type UserConfig } from 'vite';
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import path from 'path';
|
||||
|
||||
const config: UserConfig = defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@reuters-graphics/graphics-components': path.resolve('./src'),
|
||||
$lib: path.resolve('./src'),
|
||||
$docs: path.resolve('./src/docs'),
|
||||
},
|
||||
},
|
||||
css: {
|
||||
preprocessorOptions: { scss: { quietDeps: true, api: 'modern-compiler' } },
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue