Projekt

Obecné

Profil

Stáhnout (692 Bajtů) Statistiky
| Větev: | Revize:
1
import resolve from 'rollup-plugin-node-resolve';
2
import babel from 'rollup-plugin-babel';
3
const packageJson = require('./package.json');
4

    
5
export default {
6
	entry : "dist/esnext/index.js",
7
	format : "umd",
8
	moduleName : "URI",
9
	plugins: [
10
		resolve({
11
			module: true,
12
			jsnext: true,
13
			preferBuiltins: false
14
		}),
15

    
16
		babel({
17
		  "presets": [
18
		    ["latest", {
19
		      "es2015": {
20
		        "modules": false
21
		      }
22
		    }]
23
		  ],
24
		  "plugins": ["external-helpers"],
25
		  "externalHelpers": false
26
		}
27
)
28
	],
29
	dest  : "dist/es5/uri.all.js",
30
	sourceMap: true,
31
	banner: "/** @license URI.js v" + packageJson.version + " (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */"
32
}
(4-4/6)