mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
580 B
29 lines
580 B
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/**'
|
|
})
|
|
]
|
|
}
|