From 026eb181df6371f178f9e7efc533931b003967dd Mon Sep 17 00:00:00 2001 From: Stefan van Herwijnen <5968971+stefanvanherwijnen@users.noreply.github.com> Date: Thu, 30 Jun 2022 09:19:20 +0200 Subject: [PATCH] test: use ES syntax in vite.config.noexternal.js (#8857) --- playground/ssr-vue/vite.config.noexternal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/ssr-vue/vite.config.noexternal.js b/playground/ssr-vue/vite.config.noexternal.js index ce9a389defc68b..48a740c16cb1bf 100644 --- a/playground/ssr-vue/vite.config.noexternal.js +++ b/playground/ssr-vue/vite.config.noexternal.js @@ -1,8 +1,8 @@ -const config = require('./vite.config.js') +import config from './vite.config.js' /** * @type {import('vite').UserConfig} */ -module.exports = Object.assign(config, { +export default Object.assign(config, { ssr: { noExternal: /./ },