mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 04:54:12 +03:00
ece12ebe34
generated from commit 6821b53b3a
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'
|
|
]
|
|
})
|
|
],
|
|
};
|