Sha256: df34bf7f5b9740c229673c4f10ea6543e1402468fa595c34121dd21722343643

Contents?: true

Size: 971 Bytes

Versions: 6

Compression:

Stored size: 971 Bytes

Contents

import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import typescript from '@rollup/plugin-typescript';

export default [
  {
    input: 'src/components.ts',
    output: {
      file: 'dist/components.js',
      format: 'esm'
    },
    plugins: [
      resolve(),
      commonjs(),
      typescript({
        tsconfig: './tsconfig.json',
        sourceMap: false
      })
    ]
  },
  {
    input: 'src/components-for-test.ts',
    output: {
      file: 'dist/components-for-test.js',
      format: "iife",
      name: "Clapton"
    },
    plugins: [
      resolve(),
      commonjs(),
      typescript({
        tsconfig: './tsconfig.json',
        sourceMap: false
      })
    ]
  },
  {
    input: 'src/client.ts',
    output: {
      file: 'dist/client.js',
    },
    plugins: [
      resolve(),
      commonjs(),
      typescript({
        tsconfig: './tsconfig.json',
        sourceMap: false
      })
    ]
  }
];

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
clapton-0.0.19 lib/clapton/javascripts/rollup.config.mjs
clapton-0.0.18 lib/clapton/javascripts/rollup.config.mjs
clapton-0.0.17 lib/clapton/javascripts/rollup.config.mjs
clapton-0.0.16 lib/clapton/javascripts/rollup.config.mjs
clapton-0.0.15 lib/clapton/javascripts/rollup.config.mjs
clapton-0.0.14 lib/clapton/javascripts/rollup.config.mjs