diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-09 12:23:29 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-09 12:27:50 +0800 |
commit | 00b4e37429c650abc92e53c4ddb1e00de04f3189 (patch) | |
tree | ad3c55478f4791feda97c08abed566d97df06e1e /rollup.config.js | |
parent | 21711f4c942b488b3f2d7eca8861fcc69002f765 (diff) |
style: Improve code readability
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rollup.config.js b/rollup.config.js index 1dc3a02..d04eb4e 100644 --- a/rollup.config.js +++ b/rollup.config.js | |||
@@ -50,6 +50,6 @@ export default [ | |||
50 | { | 50 | { |
51 | input: "src/dumbymap.mjs", | 51 | input: "src/dumbymap.mjs", |
52 | }, | 52 | }, |
53 | ].map(config => { | 53 | ] |
54 | return { ...general, ...config } | 54 | .map(config => ({ ...general, ...config })) |
55 | }) | 55 | .filter((config) => production || config.input.match(/editor/)) |