浏览代码

chore: fixed styles from vue-loader being incorrectly tree-shook

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 3 年之前
父节点
当前提交
bb7f11eed4
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      frontend/package.json

+ 4 - 1
frontend/package.json

@@ -1,6 +1,9 @@
 {
   "name": "musare-frontend",
-  "sideEffects": false,
+  "sideEffects": [
+    "*.css",
+    "*.vue"
+  ],
   "private": true,
   "version": "2.1.0",
   "description": "A modern, open-source, collaborative music app https://musare.com",