mirror of
https://github.com/nasa/openmct.git
synced 2025-05-13 14:03:21 +00:00
Fix test:watch -- begone, infinite watch loop! (#5337)
This commit is contained in:
parent
63d2246345
commit
cbdb9fc437
@ -6,6 +6,17 @@ const webpack = require('webpack');
|
|||||||
|
|
||||||
module.exports = merge(common, {
|
module.exports = merge(common, {
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
|
watchOptions: {
|
||||||
|
// Since we use require.context, webpack is watching the entire directory.
|
||||||
|
// We need to exclude any files we don't want webpack to watch.
|
||||||
|
// See: https://webpack.js.org/configuration/watch/#watchoptions-exclude
|
||||||
|
ignored: [
|
||||||
|
'**/{node_modules,dist,docs,e2e}', // All files in node_modules, dist, docs, e2e,
|
||||||
|
'**/{*.yml,Procfile,webpack*.js,babel*.js,package*.json,tsconfig.json,jsdoc.json}', // Config files
|
||||||
|
'**/*.{sh,md,png,ttf,woff,svg}', // Non source files
|
||||||
|
'**/.*' // dotfiles and dotfolders
|
||||||
|
]
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"vue": path.join(__dirname, "node_modules/vue/dist/vue.js")
|
"vue": path.join(__dirname, "node_modules/vue/dist/vue.js")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user