Skip to content

Commit

Permalink
fix: remove redundant & unused themes
Browse files Browse the repository at this point in the history
  • Loading branch information
luthfimasruri committed Mar 16, 2021
1 parent 45314a4 commit 6e2c4b3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 110 deletions.
45 changes: 0 additions & 45 deletions src/assets/bubble.styl

This file was deleted.

14 changes: 0 additions & 14 deletions src/assets/bubble/toolbar.styl

This file was deleted.

49 changes: 0 additions & 49 deletions src/assets/bubble/tooltip.styl

This file was deleted.

File renamed without changes.
11 changes: 9 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,21 @@ export default defineConfig({
plugins: [
copy({
targets: [{
src: './node_modules/quill/dist/*.css',
src: './node_modules/quill/dist/quill.core.css',
dest: './dist',
transform: (contents, filename) => {
return csso.minify(contents.toString()).css
}
},
{
src: './src/themes/*.css',
src: './node_modules/quill/dist/quill.bubble.css',
dest: './dist',
transform: (contents, filename) => {
return csso.minify(contents.toString()).css
}
},
{
src: './src/themes/quill.snow.css',
dest: './dist',
transform: (contents, filename) => {
return csso.minify(contents.toString()).css
Expand Down

0 comments on commit 6e2c4b3

Please sign in to comment.