16 lines
401 B
JavaScript
16 lines
401 B
JavaScript
// SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
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({})],
|
|
};
|