1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

Update dev server config and remove unnecessary npm modules

This commit is contained in:
Nikita Dudnik (nek) 2024-11-12 09:35:00 +01:00
parent e03f01ba52
commit 50b923917c
3 changed files with 19 additions and 240 deletions

View file

@ -54,16 +54,18 @@ module.exports = (env, argv) => {
path.resolve('./node_modules')
]
},
watchOptions: {
ignored: /node_modules/,
poll: false,
},
devServer: {
hot: true,
static: {
directory: path.join(__dirname, 'dist'),
watch: {
ignored: [
path.resolve(__dirname, 'dist'),
path.resolve(__dirname, 'node_modules')
],
static: ['dist'],
watchFiles: {
paths: ['src'],
options: {
usePolling: false,
},
},