chore(build): set rollup watching path

This commit is contained in:
Cotes Chung 2023-03-31 04:55:09 +08:00
parent bf199d779c
commit 6f97636fb9
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -16,6 +16,9 @@ function build(filename) {
name: 'Chirpy', name: 'Chirpy',
sourcemap: !isProd sourcemap: !isProd
}, },
watch: {
include: `${JS_SRC}/**`
},
plugins: [ plugins: [
babel({ babel({
babelHelpers: 'bundled', babelHelpers: 'bundled',