hina-cloud-js-sdk 3.1.7 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,42 +0,0 @@
1
- import babel from "rollup-plugin-babel";
2
- import resolve from "@rollup/plugin-node-resolve"
3
- import commonjs from "@rollup/plugin-commonjs";
4
- import terser from '@rollup/plugin-terser';
5
- import { defineConfig } from 'rollup';
6
-
7
-
8
- const plugins = [
9
- resolve(),
10
- commonjs(),
11
- babel({
12
- exclude: "node_modules/**",
13
- }),
14
- terser({
15
- module: true, // 启用模块语法和模块解析逻辑
16
- mangle: true, // 混淆变量名
17
- compress: true, // 压缩代码
18
- }),
19
- ]
20
-
21
- export default defineConfig(
22
- [
23
- {
24
- input: "src/epm-sdk/index.js",
25
- output: {
26
- file: "buildEpm/hinaEpm.esm.min.js",
27
- name: "hina-epm",
28
- format: "esm",
29
- },
30
- plugins,
31
- },
32
- {
33
- input: "src/epm-sdk/index.js",
34
- output: {
35
- file: "buildEpm/hinaEpm.min.js",
36
- name: "hina-epm",
37
- format: "umd",
38
- },
39
- plugins,
40
- }
41
- ]
42
- )
@@ -1,42 +0,0 @@
1
- import babel from "rollup-plugin-babel";
2
- import resolve from "@rollup/plugin-node-resolve"
3
- import commonjs from "@rollup/plugin-commonjs";
4
- import terser from '@rollup/plugin-terser';
5
- import { defineConfig } from 'rollup';
6
-
7
-
8
- const plugins = [
9
- resolve(),
10
- commonjs(),
11
- babel({
12
- exclude: "node_modules/**",
13
- }),
14
- terser({
15
- module: true, // 启用模块语法和模块解析逻辑
16
- mangle: true, // 混淆变量名
17
- compress: true, // 压缩代码
18
- }),
19
- ]
20
-
21
- export default defineConfig(
22
- [
23
- {
24
- input: "src/pv-sdk/index.js",
25
- output: {
26
- file: "buildSdk/hina.esm.min.js",
27
- name: "hina-epm",
28
- format: "esm",
29
- },
30
- plugins,
31
- },
32
- {
33
- input: "src/pv-sdk/index.js",
34
- output: {
35
- file: "buildSdk/hina.min.js",
36
- name: "hina-epm",
37
- format: "umd",
38
- },
39
- plugins,
40
- }
41
- ]
42
- )
@@ -1,3 +0,0 @@
1
- sonar.projectKey=hina-cloud-sdk_hina-cloud-js-sdk_AYm0HXxE2zk_fVMIU_ZT
2
- sonar.qualitygate.wait=true
3
- sonar.eslint.reportPaths=report.json