Sha256: ef1fb78fd02c2a3b7db0650b900bb505b3cde112f1ddc67ef21c94c55827b666

Contents?: true

Size: 863 Bytes

Versions: 13

Compression:

Stored size: 863 Bytes

Contents

import resolve from "@rollup/plugin-node-resolve"
import commonjs from "@rollup/plugin-commonjs"
import { terser } from "rollup-plugin-terser"
import coffeescript from 'rollup-plugin-coffee-script'

const terserOptions = {
 mangle: false,
 compress: false,
 format: {
   beautify: true,
   indent_level: 2
 }
}

export default [
  {
    input: "app/javascript/tessa/index.js.coffee",
    output: {
      file: "app/assets/javascripts/tessa.js",
      format: "umd",
      name: "Tessa"
    },
    plugins: [
      resolve(),
      coffeescript(),
      commonjs(),
      terser(terserOptions)
    ]
  },

  {
    input: "app/javascript/tessa/index.js.coffee",
    output: {
      file: "app/assets/javascripts/tessa.esm.js",
      format: "es"
    },
    plugins: [
      resolve(),
      coffeescript(),
      commonjs(),
      terser(terserOptions)
    ]
  }
]

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tessa-1.2.3 rollup.config.js
tessa-1.2.2 rollup.config.js
tessa-2.0 rollup.config.js
tessa-1.2.1 rollup.config.js
tessa-1.2.0 rollup.config.js
tessa-1.1.1 rollup.config.js
tessa-1.1.0 rollup.config.js
tessa-1.0.2 rollup.config.js
tessa-1.0.1 rollup.config.js
tessa-1.0.0 rollup.config.js
tessa-1.0.0.pre.rc3 rollup.config.js
tessa-1.0.0.pre.rc2 rollup.config.js
tessa-1.0.0.pre.rc1 rollup.config.js