Sha256: e5417392b8869dcfce708d7d99712f61faf8e02d25c21bf135e277c2f67766a4

Contents?: true

Size: 1.49 KB

Versions: 27

Compression:

Stored size: 1.49 KB

Contents

import resolve from "@rollup/plugin-node-resolve"
import commonjs from "@rollup/plugin-commonjs"
import terser from "@rollup/plugin-terser"

export default [
  {
    input: "node_modules/clipboard/dist/clipboard.min.js",
    output: {
      file: "vendor/javascript/clipboard.min.js"
    },
    context: "window"
  },
  {
    input: "node_modules/flatpickr/dist/esm/index.js",
    output: {
      file: "vendor/javascript/flatpickr.min.js"
    },
    plugins: [resolve(), terser()],
    context: "window"
  },
  {
    input: "node_modules/keymaster/keymaster.js",
    output: {
      file: "vendor/javascript/keymaster.min.js"
    },
    plugins: [terser()],
    context: "window"
  },
  {
    input: "node_modules/sortablejs/modular/sortable.esm.js",
    output: {
      file: "vendor/javascript/sortable.min.js"
    },
    plugins: [terser()]
  },
  {
    input: "node_modules/@ungap/custom-elements/min.js",
    output: {
      file: "vendor/javascript/ungap-custom-elements.min.js"
    }
  },
  {
    input: "node_modules/@rails/ujs/app/assets/javascripts/rails-ujs.esm.js",
    output: {
      file: "vendor/javascript/rails-ujs.min.js"
    },
    plugins: [terser()]
  },
  {
    input: "bundles/shoelace.js",
    output: {
      file: "vendor/javascript/shoelace.min.js"
    },
    plugins: [resolve(), terser()]
  },
  {
    input: "bundles/tinymce.js",
    output: {
      file: "vendor/javascript/tinymce.min.js",
      name: "tinymce",
      format: "esm"
    },
    plugins: [resolve(), commonjs(), terser()]
  }
]

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 rollup.config.mjs
alchemy_cms-7.3.3 rollup.config.mjs
alchemy_cms-7.3.2 rollup.config.mjs
alchemy_cms-7.2.7 rollup.config.mjs
alchemy_cms-7.3.1 rollup.config.mjs
alchemy_cms-7.3.0 rollup.config.mjs
alchemy_cms-7.2.6 rollup.config.mjs
alchemy_cms-7.2.5 rollup.config.mjs
alchemy_cms-7.1.12 rollup.config.mjs
alchemy_cms-7.2.4 rollup.config.mjs
alchemy_cms-7.1.11 rollup.config.mjs
alchemy_cms-7.2.3 rollup.config.mjs
alchemy_cms-7.1.10 rollup.config.mjs
alchemy_cms-7.2.2 rollup.config.mjs
alchemy_cms-7.1.9 rollup.config.mjs
alchemy_cms-7.2.1 rollup.config.mjs
alchemy_cms-7.1.8 rollup.config.mjs
alchemy_cms-7.1.7 rollup.config.mjs
alchemy_cms-7.1.6 rollup.config.mjs
alchemy_cms-7.1.5 rollup.config.mjs