@genesislcap/rollup-builder 14.331.0 → 14.332.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 +1 @@
1
- {"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../src/options/output.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,QAAQ,CAAC;AAE1D,eAAO,MAAM,gBAAgB,GAC3B,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,WAAW,OAAO,EAClB,OAAO,OAAO,EACd,aAAa,MAAM,KAClB,aAAa,EA0Bf,CAAC"}
1
+ {"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../src/options/output.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAA8B,MAAM,QAAQ,CAAC;AAExE,eAAO,MAAM,gBAAgB,GAC3B,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,WAAW,OAAO,EAClB,OAAO,OAAO,EACd,aAAa,MAAM,KAClB,aAAa,EA0Bf,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rollup-builder",
3
3
  "description": "Rollup builder",
4
- "version": "14.331.0",
4
+ "version": "14.332.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "dev": "tsc -b ./tsconfig.json -w"
15
15
  },
16
16
  "dependencies": {
17
- "@genesislcap/build-kit": "14.331.0",
17
+ "@genesislcap/build-kit": "14.332.0",
18
18
  "@rollup/plugin-commonjs": "28.0.0",
19
19
  "@rollup/plugin-json": "^5.0.0",
20
20
  "@rollup/plugin-node-resolve": "^13.1.3",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "2325ef1975a2515b6da6a0e8daab8a6f1483d1be"
40
+ "gitHead": "6ddd2afd868bbcdbbf9a820449aff54ff2f32b95"
41
41
  }
@@ -1,5 +1,5 @@
1
1
  import terser from '@rollup/plugin-terser';
2
- import type { OutputOptions, ModuleFormat } from 'rollup';
2
+ import type { OutputOptions, ModuleFormat, OutputPlugin } from 'rollup';
3
3
 
4
4
  export const getOutputOptions = (
5
5
  globals: Record<string, string>,
@@ -7,21 +7,21 @@ export const getOutputOptions = (
7
7
  isDev: boolean,
8
8
  packageName: string,
9
9
  ): OutputOptions[] => {
10
- const unminified = {
10
+ const unminified: OutputOptions = {
11
11
  file: `dist/${packageName}.js`,
12
12
  format: 'esm' as ModuleFormat,
13
13
  globals,
14
14
  };
15
- const minified = {
15
+ const minified: OutputOptions = {
16
16
  file: `dist/${packageName}.min.js`,
17
17
  format: 'esm' as ModuleFormat,
18
- plugins: [terser()],
18
+ plugins: [terser() as unknown as OutputPlugin],
19
19
  globals,
20
20
  };
21
- const iife = {
21
+ const iife: OutputOptions = {
22
22
  file: `dist/${packageName}.iife.min.js`,
23
23
  format: 'iife' as ModuleFormat,
24
- plugins: [terser()],
24
+ plugins: [terser() as unknown as OutputPlugin],
25
25
  globals,
26
26
  };
27
27