/
githubmirror
/
socket.io
Обзор
Документация
Войти
/
githubmirror
/
socket.io
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/rollup-server-bundle/rollup.config.js
12 строк
301 B
Damien Arrachequesne
docs(examples): add server bundling example with rollup
22 апр 2022, 23:40
Не верифицирован
22 апр 2022, 23:40
06e6838
Код
Авторство
О чём код?
import resolve from "@rollup/plugin-node-resolve"; import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; export default { input: "index.js", output: { file: "bundle.js", format: "esm", }, plugins: [resolve(), commonjs(), json({ compact: true })], };