From 17a3be230b2ba151c915bbec73c38a691fbb974b Mon Sep 17 00:00:00 2001 From: Pionxzh Date: Thu, 15 Feb 2024 22:31:08 +0800 Subject: [PATCH] build(playground): fix missing `os` node polyfill --- packages/playground/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/playground/vite.config.ts b/packages/playground/vite.config.ts index b7c06451..c3992547 100644 --- a/packages/playground/vite.config.ts +++ b/packages/playground/vite.config.ts @@ -32,6 +32,7 @@ export default defineConfig({ }, resolve: { alias: { + 'os': 'rollup-plugin-node-polyfills/polyfills/os', 'constants': 'rollup-plugin-node-polyfills/polyfills/constants', '@wakaru/unminify': path.resolve(__dirname, '../unminify/src/index.ts'), '@wakaru/unpacker': path.resolve(__dirname, '../unpacker/src/index.ts'),