Skip to content

Commit

Permalink
Adds buid target for chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolis2011 committed Sep 28, 2019
1 parent 66a6e32 commit bf72405
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion vueui/dist/app.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions vueui/dist/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vueui/dist/app.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions vueui/src/assets/chat.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 6 additions & 0 deletions vueui/src/chat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*
* HTML chat styles and tools.
* Made for Aurora, by Karolis K.
*/
import './assets/chat.scss'

16 changes: 12 additions & 4 deletions vueui/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ module.exports = {
css: {
extract: true
},
pages: {
app: "src/main.js",
chat: "src/chat.js"
},
chainWebpack: config => {
config
.performance
Expand Down Expand Up @@ -42,10 +46,14 @@ module.exports = {
.end()

config.plugins
.delete("html")
.delete("preload")
.delete("prefetch")
.delete("hmr")
.delete("html-app")
.delete("preload-app")
.delete("prefetch-app")
.delete("hmr-app")
.delete("html-chat")
.delete("preload-chat")
.delete("prefetch-chat")
.delete("hmr-chat")

config.plugin('extract-css')
.tap(args => {
Expand Down

0 comments on commit bf72405

Please sign in to comment.