sleek-dashboard
Version:
Premium & Free Bootstrap 4 admin dashboard template by TAFcoder.com
28 lines (23 loc) • 591 B
JavaScript
import path from 'path'
import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs';
//Used in the app but not in production
const external = ['jquery']
const globals = {
jquery: 'jQuery', // Ensure we use jQuery which is always available even in noConflict mode
}
module.exports = {
input: path.resolve(__dirname, 'js/index.js'),
output: {
file: path.resolve(__dirname, `_site/assets/js/sleek.bundle.js`),
format: 'umd',
globals,
name: 'sleekBundle'
},
plugins: [
resolve(),
commonjs()
],
external
}