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:
parent
e03f01ba52
commit
50b923917c
3 changed files with 19 additions and 240 deletions
|
@ -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,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue