mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-02 21:04:13 +03:00
fix rollup es6, it doesn't need babel transpiling
This commit is contained in:
parent
e1baa0879f
commit
dccc6c09d0
|
@ -1,10 +1,7 @@
|
||||||
import babel from 'rollup-plugin-babel';
|
|
||||||
|
|
||||||
//var external = Object.keys( require( './package.json' ).dependencies );
|
//var external = Object.keys( require( './package.json' ).dependencies );
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
entry: 'js/src/index.js',
|
entry: 'js/src/index.js',
|
||||||
sourceMap: true,
|
sourceMap: true
|
||||||
plugins: [babel()]
|
|
||||||
//external: external
|
//external: external
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
import config from './rollup.config.js';
|
import config from './rollup.config.js';
|
||||||
|
import extend from 'extend'
|
||||||
|
import babel from 'rollup-plugin-babel';
|
||||||
|
|
||||||
config.format = 'iife';
|
export default extend(true, config, {
|
||||||
config.entry = 'docs/assets/js/src/index.js',
|
plugins: [babel()],
|
||||||
|
format: 'iife',
|
||||||
config.dest = 'docs/dist/js/docs.iife.js';
|
entry: 'docs/assets/js/src/index.js',
|
||||||
|
dest: 'docs/dist/js/docs.iife.js'
|
||||||
export default config;
|
})
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import config from './rollup.config.js';
|
import config from './rollup.config.js';
|
||||||
|
import extend from 'extend'
|
||||||
|
|
||||||
config.format = 'es6';
|
export default extend(true, config, {
|
||||||
config.dest = 'dist/js/bootstrap-material-design.es6.js';
|
format: 'es6',
|
||||||
|
dest: 'dist/js/bootstrap-material-design.es6.js'
|
||||||
export default config;
|
})
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
import config from './rollup.config.js';
|
import config from './rollup.config.js';
|
||||||
|
import extend from 'extend'
|
||||||
|
import babel from 'rollup-plugin-babel';
|
||||||
|
|
||||||
config.format = 'iife';
|
export default extend(true, config, {
|
||||||
config.dest = 'dist/js/bootstrap-material-design.iife.js';
|
plugins: [babel()],
|
||||||
|
format: 'iife',
|
||||||
export default config;
|
dest: 'dist/js/bootstrap-material-design.iife.js'
|
||||||
|
})
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
|
|
||||||
import config from './rollup.config.js';
|
import config from './rollup.config.js';
|
||||||
|
import extend from 'extend'
|
||||||
|
import babel from 'rollup-plugin-babel';
|
||||||
|
|
||||||
config.format = 'umd';
|
export default extend(true, config, {
|
||||||
//config.moduleName = 'bootstrapMaterialDesign';
|
plugins: [babel()],
|
||||||
config.dest = 'dist/js/bootstrap-material-design.umd.js';
|
format: 'umd',
|
||||||
|
dest: 'dist/js/bootstrap-material-design.umd.js'
|
||||||
export default config;
|
})
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
"load-grunt-tasks": "~3.3.0",
|
"load-grunt-tasks": "~3.3.0",
|
||||||
"markdown-it": "^5.0.0",
|
"markdown-it": "^5.0.0",
|
||||||
"mq4-hover-shim": "^0.3.0",
|
"mq4-hover-shim": "^0.3.0",
|
||||||
|
"node-extend": "^0.2.0",
|
||||||
"npm-shrinkwrap": "^200.1.0",
|
"npm-shrinkwrap": "^200.1.0",
|
||||||
"rollup": "^0.25",
|
"rollup": "^0.25",
|
||||||
"rollup-plugin-babel": "^2.3",
|
"rollup-plugin-babel": "^2.3",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user