diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-03 16:02:48 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-03 16:19:46 +0800 |
commit | 74bf4c4064c844e4ef8de40ccf073a6acd46d79c (patch) | |
tree | 5d91b133ef96ddf2ec9916116316fe826778348d | |
parent | 64b3554d4bbd75b71923239848947d77b4d3cf1b (diff) |
feat: add sourcemap
-rw-r--r-- | rollup.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rollup.config.js b/rollup.config.js index 87282aa..539e2d3 100644 --- a/rollup.config.js +++ b/rollup.config.js | |||
@@ -12,7 +12,8 @@ const general = { | |||
12 | { | 12 | { |
13 | dir: './dist', | 13 | dir: './dist', |
14 | format: 'esm', | 14 | format: 'esm', |
15 | entryFileNames: '[name].mjs' | 15 | entryFileNames: '[name].mjs', |
16 | sourcemap: 'true' | ||
16 | } | 17 | } |
17 | ], | 18 | ], |
18 | watch: { | 19 | watch: { |