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:
+13
-14
@@ -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')
|
||||
// })
|
||||
// },
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user