From f4810b458ffdae3e306123c24837b1c8f42422a0 Mon Sep 17 00:00:00 2001 From: csr632 <632882184@qq.com> Date: Fri, 29 May 2020 20:51:57 +0800 Subject: [PATCH] test: add test for https://github.com/vitejs/vite/issues/294 --- playground/TestModuleResolve.vue | 7 ++++++- playground/package.json | 1 + playground/resolve-browser-field/out/cjs.node.js | 1 + playground/resolve-browser-field/out/esm.browser.js | 1 + playground/resolve-browser-field/package.json | 9 +++++++++ playground/yarn.lock | 4 ++++ test/test.js | 1 + 7 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 playground/resolve-browser-field/out/cjs.node.js create mode 100644 playground/resolve-browser-field/out/esm.browser.js create mode 100644 playground/resolve-browser-field/package.json diff --git a/playground/TestModuleResolve.vue b/playground/TestModuleResolve.vue index 281701ea6ce804..cb33a453f4fe30 100644 --- a/playground/TestModuleResolve.vue +++ b/playground/TestModuleResolve.vue @@ -16,6 +16,9 @@
filename with dot resolve: {{ dotResolve }}
+
+ resolve browser field in package.json: {{ browserFieldResolve }} +