From 6d077f730b867601a74bc2d8939ed9127627d443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Sun, 22 Apr 2018 20:37:14 +0800 Subject: [PATCH] [Improvement] packages.json add module entry --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e43bd2743..4f5e6c6cb 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "name": "vant", "version": "1.0.8", "description": "A Vue.js 2.0 Mobile UI at YouZan", - "main": "lib/vant.js", + "main": "lib/index.js", + "module": "es/index.js", "style": "lib/vant-css/index.css", - "unpkg": "lib/index.js", "typings": "types/index.d.ts", "files": [ - "lib", "es", + "lib", "packages", "types" ],