From 0a8fb5755e3f2a5271f787c4e8df922e3e9bc95f Mon Sep 17 00:00:00 2001 From: Victor Cazanave Date: Sat, 28 Dec 2019 17:56:09 +0800 Subject: [PATCH] Add files property to reduce package size --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index bfb11ff..8b4f9bf 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,10 @@ "./sfc/checkbox-svg-map": "src/components/checkbox-svg-map.vue", "./sfc/radio-svg-map": "src/components/radio-svg-map.vue" }, + "files": [ + "/src/components/*.vue", + "/dist" + ], "scripts": { "build:umd": "rollup --config rollup.config.js --format umd --file dist/index.umd.js", "build:es": "rollup --config rollup.config.js --format es --file dist/index.esm.js",