mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
feat!: change package requirements
- Configure as ES module - Add svelte as peerDependency - add Vite and vite-preprocess to inline imported SCSS
This commit is contained in:
parent
7e4fd91bd3
commit
e75508014c
288 changed files with 454 additions and 38 deletions
11
vite.config.js
Normal file
11
vite.config.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
const config = {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
additionalData: '@use "src/variables.scss" as *;',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
Loading…
Add table
Add a link
Reference in a new issue