Sha256: 6a366685b55184c0ff14fafb04c096f429ed391e3f7516d1b7d5d313175d7fbb

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

import esbuild from "rollup-plugin-esbuild";
import cleaner from "rollup-plugin-cleaner";
import pkg from "./package.json";

export default {
  input: "./src/index.ts",
  external: ["@rails/request.js"],
  plugins: [
    cleaner({
      targets: ["./dist/"],
    }),
    esbuild({
      target: "es6",
    }),
  ],
  output: [
    {
      file: pkg.main,
      format: "cjs",
    },
    {
      file: pkg.module,
      format: "es",
    },
  ],
};

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shimmer-0.0.4 rollup.config.js