From 6f97636fb9e3880b303d96f9f5c859728fbadead Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 31 Mar 2023 04:55:09 +0800 Subject: [PATCH] chore(build): set rollup watching path --- rollup.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rollup.config.js b/rollup.config.js index f662358..a0d063f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -16,6 +16,9 @@ function build(filename) { name: 'Chirpy', sourcemap: !isProd }, + watch: { + include: `${JS_SRC}/**` + }, plugins: [ babel({ babelHelpers: 'bundled',