Sha256: ae49859795525724090d7c81e6da604f9d5e2c903c9030411044e983165005f1
Contents?: true
Size: 488 Bytes
Versions: 37
Compression:
Stored size: 488 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", "@hotwired/stimulus", "@popperjs/core"], plugins: [ cleaner({ targets: ["./dist/"], }), esbuild({ target: "es6", }), ], output: [ { file: pkg.main, format: "cjs", }, { file: pkg.module, format: "es", }, ], };
Version data entries
37 entries across 37 versions & 1 rubygems