Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rollup.config.js - github.com/d-kusk/minimage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0eba68c62486cff4f10f3379e519a3907de29806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import babel from 'rollup-plugin-babel'
import uglify from 'rollup-plugin-uglify'

export default {
  input: 'source/javascript/application.js',
  output: {
    file: 'static/js/application.js',
    format: 'iife',
    name: 'main'
  },
  plugins: [
    babel(),
    uglify()
  ],
  global: {
    // jquery: '$'  // When using jquery, it must be active.
  }
}