b
This commit is contained in:
14
enginiptv/panel/build/config/postcss.config.js
Normal file
14
enginiptv/panel/build/config/postcss.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = (ctx) => ({
|
||||
map: ctx.file.dirname.includes('examples') ? false : {
|
||||
inline: false,
|
||||
annotation: true,
|
||||
sourcesContent: true
|
||||
},
|
||||
plugins: {
|
||||
autoprefixer: {
|
||||
cascade: false
|
||||
}
|
||||
}
|
||||
})
|
||||
29
enginiptv/panel/build/config/rollup.config.js
Normal file
29
enginiptv/panel/build/config/rollup.config.js
Normal file
@@ -0,0 +1,29 @@
|
||||
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/ColorlibHQ/AdminLTE/blob/master/LICENSE)
|
||||
*/`,
|
||||
file : 'dist/js/adminlte.js',
|
||||
format: 'umd',
|
||||
globals,
|
||||
name : 'adminlte'
|
||||
},
|
||||
plugins: [
|
||||
babel({
|
||||
exclude: 'node_modules/**',
|
||||
externalHelpers: true
|
||||
})
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user