mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 01:39:21 +02:00
23 lines
539 B
TypeScript
23 lines
539 B
TypeScript
import node from "@rollup/plugin-node-resolve";
|
|
import typescript from "@rollup/plugin-typescript";
|
|
import { defineConfig } from "rollup";
|
|
|
|
export default defineConfig({
|
|
input: "src/index.js",
|
|
experimentalLogSideEffects: true,
|
|
output: {
|
|
name: "index",
|
|
file: "dist/index.js",
|
|
format: "esm",
|
|
},
|
|
plugins: [
|
|
typescript(),
|
|
node(),
|
|
// terser({
|
|
// module: true,
|
|
// format: {
|
|
// beautify: true,
|
|
// },
|
|
// }),
|
|
],
|
|
});
|