Skip to content

Commit

Permalink
build(playground): fix missing os node polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
pionxzh committed Feb 15, 2024
1 parent 3dc7328 commit 17a3be2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/playground/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 17a3be2

Please sign in to comment.