1 Star 1 Fork 0

Feature Probe / client-sdk-js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rollup.config.js 747 Bytes
一键复制 编辑 原始数据 按行查看 历史
poryzhao 提交于 2023-01-16 17:28 . Realtime (#7)
import typescript from "rollup-plugin-typescript2";
import minify from "rollup-plugin-babel-minify";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import nodePolyfills from "rollup-plugin-node-polyfills";
export default {
input: "./src/index.ts",
output: [
{
file: "./dist/featureprobe-client-sdk-js.min.js",
format: "iife",
name: "featureProbe",
},
],
plugins: [
resolve({
browser: true,
}),
commonjs({
include: "node_modules/**",
}),
typescript({ tsconfigOverride: { compilerOptions: { module: "ES2015" } } }),
minify({ comments: false }),
json(),
nodePolyfills(),
],
};
TypeScript
1
https://gitee.com/featureprobe/client-sdk-js.git
git@gitee.com:featureprobe/client-sdk-js.git
featureprobe
client-sdk-js
client-sdk-js
main

搜索帮助