mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-10 19:57:13 +03:00
26 lines
524 B
JavaScript
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'
|
|
]
|
|
})
|
|
],
|
|
};
|