Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
12 lines
243 B
TypeScript
12 lines
243 B
TypeScript
import nodePolyfills from 'rollup-plugin-polyfill-node';
|
|
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
platform: 'browser',
|
|
plugins: [
|
|
nodePolyfills({
|
|
include: ['fs'],
|
|
}),
|
|
],
|
|
});
|