1 Star 0 Fork 0

jack/hammer.js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
testrollup.config.js 652 Bytes
一键复制 编辑 原始数据 按行查看 历史
Younkue 提交于 2018-10-04 16:24 . fix test
import babel from "rollup-plugin-babel";
import { uglify } from "rollup-plugin-uglify";
export default [
{
input: "./tests/index.js",
plugins: [babel({ exclude: "node_modules/**" })],
output: {
format: "umd",
name: "Hammer",
exports: "default",
freeze: false,
interop: false,
sourcemap: true,
file: "./testdist/hammer.js",
},
},
{
input: "./tests/index.js",
plugins: [babel({ exclude: "node_modules/**" }), uglify({ sourcemap: true })],
output: {
format: "umd",
name: "Hammer",
exports: "default",
freeze: false,
interop: false,
sourcemap: true,
file: "./testdist/hammer.min.js",
},
},
];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jsonmess/hammer.js.git
[email protected]:jsonmess/hammer.js.git
jsonmess
hammer.js
hammer.js
master

搜索帮助