File: config-es.js

package info (click to toggle)
node-immutable-tuple 0.4.10-13
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 928 kB
  • sloc: javascript: 3,828; makefile: 5; sh: 3
file content (18 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const path = require("path");
const buble = require("rollup-plugin-buble");

const SRC_DIR = path.resolve("../src");
const DIST_DIR = path.resolve(SRC_DIR, "../dist");

module.exports = {
  sourcemap: false,
  input: path.join(SRC_DIR, "tuple.js"),
  output: {
    exports: "named",
    file: path.join(DIST_DIR, "tuple.mjs"),
    format: "es"
  },
  plugins: [
    buble(),
  ]
};