mdb-ui-kit/rollup.config.js
Federico Zivolo ece12ebe34 publish: v4.1.0
generated from commit 6821b53b3a
2018-01-23 13:38:38 +01:00

26 lines
524 B
JavaScript

import fs from 'fs';
import babel from 'rollup-plugin-babel';
const babelOptions = JSON.parse(fs.readFileSync('./.babelrc'));
export default {
output: {
format: 'umd',
},
globals: {
jquery: 'jQuery',
'popper.js': 'Popper'
},
plugins: [
babel({
exclude: 'node_modules/**', // Only transpile our source code
externalHelpersWhitelist: [ // Include only required helpers
'defineProperties',
'createClass',
'inheritsLoose',
'extends'
]
})
],
};