Browse Source

maps nur in dev

hmt 5 năm trước cách đây
mục cha
commit
5e31688bc9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rollup.config.js

+ 1 - 1
rollup.config.js

@@ -11,7 +11,7 @@ export default [
            ],
     output: [
       {
-        sourcemap: true,
+        sourcemap: !production,
         dir: "build",
         format: "cjs",
       }