2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-07 07:12:23 +03:00

feat: deprecate sass, convert to css (#1531)

This commit is contained in:
Jeff Sagal
2022-02-17 12:21:27 -08:00
committed by GitHub
parent 361523056f
commit 1ecf71aa4b
26 changed files with 2142 additions and 2893 deletions
+13 -14
View File
@@ -1,4 +1,4 @@
const merge = require('webpack-merge')
const { merge } = require('webpack-merge')
const chokidar = require('chokidar')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const baseWebpackConfig = require('./webpack.base.conf')
@@ -18,20 +18,19 @@ module.exports = merge(baseWebpackConfig, {
noEmitOnErrors: true,
},
devServer: {
hot: true,
hotOnly: true,
hot: 'only',
open: true,
inline: true,
stats: {
children: false,
modules: false,
chunks: false,
},
// inline: true,
// stats: {
// children: false,
// modules: false,
// chunks: false,
// },
port: 8080,
before(app, server) {
chokidar.watch(['./**/*.html']).on('all', function () {
server.sockWrite(server.sockets, 'content-changed')
})
},
// onBeforeSetupMiddleware(server) {
// chokidar.watch(['./**/*.html']).on('all', function () {
// server.sockWrite(server.sockets, 'content-changed')
// })
// },
},
})