Skip to content

Commit

Permalink
breaking change updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
w32zhong committed Jun 6, 2021
1 parent 26159ed commit bf74bb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'babel-polyfill'
import { createApp } from 'vue'
import PrimeVueConfig from 'primevue/config'
import App from './app.vue'

import 'primevue/resources/primevue.min.css'
Expand All @@ -13,6 +14,7 @@ import 'xterm/css/xterm.css'
import 'xterm/lib/xterm.js'

const app = createApp(App)
app.use(PrimeVueConfig)

import InputSwitch from 'primevue/inputswitch'
app.component('InputSwitch', InputSwitch)
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mitt": "^2.1.0",
"primeflex": "^2.0.0",
"primeicons": "^4.0.0",
"primevue": "^3.0.1",
"primevue": "^3.1.0",
"vue": "^3.0.2",
"xterm": "^4.9.0"
},
Expand All @@ -33,7 +33,6 @@
"eslint": "^7.12.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-vue": "^7.1.0",
"fibers": "^5.0.0",
"file-loader": "^6.1.0",
"html-webpack-plugin": "^4.4.1",
"http-server": "^0.12.3",
Expand Down
5 changes: 3 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const PORT = 19985
module.exports = (env, options) => {
const mode = options.mode;
console.log(`[ this is ${mode} mode, listen port = ${PORT} ]`);
console.log(`CALABASH_URL=${process.env.CALABASH_URL}`)

return {
/* default is development mode, run 'yarn run build' for production. */
Expand Down Expand Up @@ -63,14 +64,14 @@ module.exports = (env, options) => {
// Requires sass-loader@^7.0.0
options: {
implementation: require('sass'),
fiber: require('fibers'),
//fiber: require('fibers'),
indentedSyntax: true // optional
},
// Requires sass-loader@^8.0.0
options: {
implementation: require('sass'),
sassOptions: {
fiber: require('fibers'),
//fiber: require('fibers'),
indentedSyntax: true // optional
},
},
Expand Down

0 comments on commit bf74bb9

Please sign in to comment.