mirror of https://github.com/ColorlibHQ/AdminLTE
30 lines
613 B
JavaScript
30 lines
613 B
JavaScript
|
import babel from 'rollup-plugin-babel'
|
||
|
|
||
|
const pkg = require('../../package')
|
||
|
const year = new Date().getFullYear()
|
||
|
|
||
|
const globals = {
|
||
|
jquery: 'jQuery'
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
input : 'build/js/AdminLTE.js',
|
||
|
output : {
|
||
|
banner: `/*!
|
||
|
* AdminLTE v${pkg.version} (${pkg.homepage})
|
||
|
* Copyright 2014-${year} ${pkg.author}
|
||
|
* Licensed under MIT (https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE)
|
||
|
*/`,
|
||
|
file : 'dist/js/adminlte.js',
|
||
|
format: 'umd',
|
||
|
globals,
|
||
|
name : 'adminlte'
|
||
|
},
|
||
|
plugins: [
|
||
|
babel({
|
||
|
exclude: 'node_modules/**',
|
||
|
externalHelpers: true
|
||
|
})
|
||
|
]
|
||
|
}
|