Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Bansal committed Apr 16, 2024
1 parent d38af21 commit c67bc1b
Show file tree
Hide file tree
Showing 8 changed files with 566 additions and 32 deletions.
14 changes: 0 additions & 14 deletions beam/dev/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
import { defineConfig } from 'vite'
import { resolve } from 'path'
import vue from '@vitejs/plugin-vue'

const resolveSCSSPath = () => {
if (__dirname.endsWith('dev')) {
return resolve(__dirname, 'variables.scss')
} else if (__dirname.endsWith('src')) {
return resolve(__dirname, './../dev/variables.scss')
}
}

module.exports = {
css: {
preprocessorOptions: {
scss: { additionalData: `@import "${resolveSCSSPath()}";` },
},
},
build: {
lib: {
entry: resolve(__dirname, '../src/index.js'),
Expand Down
Loading

0 comments on commit c67bc1b

Please sign in to comment.