Last active
September 28, 2021 03:06
-
-
Save lmartim/bb92faa5429e029dd6c60cbd5bf9a4ee to your computer and use it in GitHub Desktop.
Adding token's file to Vite.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'vite' | |
import vue from '@vitejs/plugin-vue' | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
plugins: [vue()], | |
css: { | |
preprocessorOptions: { | |
scss: { | |
additionalData: ` | |
@import './tokens/build/variables'; | |
` | |
} | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment