Skip to content

Commit

Permalink
fix: revert import method for normal css bundle in prod vitejs/vite#4448
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-sysbio committed Oct 28, 2022
1 parent 4a90e0d commit 26ea4f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ export default {
</script>

<style lang="scss">
@import "./node_modules/bulma/bulma.sass";
@import "./node_modules/bulma-timeline/dist/css/bulma-timeline.sass";
html {
@include mobile {
font-size: 13px;
Expand Down
2 changes: 0 additions & 2 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ export default defineConfig({
scss: {
additionalData: `
@import "./src/style/vars.scss";
@import "./node_modules/bulma/bulma.sass";
@import "./node_modules/bulma-timeline/dist/css/bulma-timeline.sass";
`,
}
},
Expand Down

0 comments on commit 26ea4f3

Please sign in to comment.