-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathrollup.config.js
More file actions
31 lines (30 loc) · 802 Bytes
/
rollup.config.js
File metadata and controls
31 lines (30 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
var babel = require('rollup-plugin-babel')
var pkg = require('./package.json')
module.exports = {
moduleName: 'CacheFactory',
moduleId: 'cachefactory',
banner: '/**\n' +
' * CacheFactory\n' +
' * @version ' + pkg.version + ' - Homepage <https://github.com/jmdobry/CacheFactory>\n' +
' * @copyright (c) 2015-2017 CacheFactory project authors\n' +
' * @license MIT <https://github.com/jmdobry/CacheFactory/blob/master/LICENSE>\n' +
' * @overview CacheFactory is a very simple and useful cache for the browser.\n' +
' */',
plugins: [
babel({
babelrc: false,
plugins: [
'external-helpers'
],
presets: [
[
'es2015',
{
modules: false
}
]
],
exclude: 'node_modules/**'
})
]
}