Commit 23dd93c0 authored by 神楽坂玲奈's avatar 神楽坂玲奈

动态下载地址

parent 7eed339c
import rollup from 'rollup'
import nodeResolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs';
import uglify from 'rollup-plugin-uglify'
import nodeResolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import uglify from "rollup-plugin-uglify";
//paths are relative to the execution path
export default {
......@@ -13,7 +12,8 @@ export default {
plugins: [
nodeResolve({jsnext: true, module: true}),
commonjs({
include: ['node_modules/rxjs/**', 'node_modules/js-yaml/**']
include: ['node_modules/rxjs/**', 'node_modules/js-yaml/**'],
namedExports: {'js-yaml': ['Type', 'Schema', 'FAILSAFE_SCHEMA', 'JSON_SCHEMA', 'CORE_SCHEMA', 'DEFAULT_SAFE_SCHEMA', 'DEFAULT_FULL_SCHEMA', 'load', 'loadAll', 'safeLoad', 'safeLoadAll', 'dump', 'safeDump', 'YAMLException']}
}),
uglify()
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment