This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/uri-js/rollup.config.js

33 lines
692 B
JavaScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
const packageJson = require('./package.json');
export default {
entry : "dist/esnext/index.js",
format : "umd",
moduleName : "URI",
plugins: [
resolve({
module: true,
jsnext: true,
preferBuiltins: false
}),
babel({
"presets": [
["latest", {
"es2015": {
"modules": false
}
}]
],
"plugins": ["external-helpers"],
"externalHelpers": false
}
)
],
dest : "dist/es5/uri.all.js",
sourceMap: true,
banner: "/** @license URI.js v" + packageJson.version + " (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */"
}