build: use defineConfig() in rollup configurations
[poolifier.git] / examples / typescript / websocket-server-pool / ws-hybrid / rollup.config.mjs
index 6f5693b94098b698587430b7225af7b44b0568e4..1560be0d5fac7fa855a6d534dbfee3179038d90c 100644 (file)
@@ -1,8 +1,9 @@
 /* eslint-disable n/no-unpublished-import */
 import typescript from '@rollup/plugin-typescript'
 import del from 'rollup-plugin-delete'
+import { defineConfig } from 'rollup'
 
-export default {
+export default defineConfig({
   input: [
     './src/main.ts',
     './src/websocket-server-worker.ts',
@@ -33,4 +34,4 @@ export default {
       targets: ['./dist/*']
     })
   ]
-}
+})