Skip to content

Commit

Permalink
fix(projects): vite配置修复
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jan 24, 2022
1 parent 02c51e6 commit facc00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Expand Up @@ -18,7 +18,7 @@ export default defineConfig(configEnv => {
css: {
preprocessorOptions: {
scss: {
additionalData: `@use "${fileURLToPath(new URL('./src', import.meta.url))}/styles/scss/global.scss" as *;`
additionalData: `@use "./src/styles/scss/global.scss" as *;`
}
}
},
Expand Down

1 comment on commit facc00e

@vercel
Copy link

@vercel vercel bot commented on facc00e Jan 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.