ds4/rollup.config.js

17 lines
401 B
JavaScript
Raw Normal View History

2021-06-26 22:02:00 +02:00
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
2021-03-17 12:15:25 +01:00
const typescript = require("rollup-plugin-typescript2");
const { nodeResolve } = require("@rollup/plugin-node-resolve");
module.exports = {
input: "src/module/ds4.ts",
output: {
dir: "dist/module",
format: "es",
sourcemap: true,
},
plugins: [nodeResolve(), typescript({})],
};