@mmb-digital/design-system-web 0.1.17 → 0.1.18
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.
- package/package.json +1 -1
- package/rollup.config.ts +0 -50
package/package.json
CHANGED
package/rollup.config.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import resolve from '@rollup/plugin-node-resolve';
|
|
2
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
-
import typescript from '@rollup/plugin-typescript';
|
|
4
|
-
import { dts } from 'rollup-plugin-dts';
|
|
5
|
-
import { terser } from 'rollup-plugin-terser';
|
|
6
|
-
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
|
|
7
|
-
import json from '@rollup/plugin-json';
|
|
8
|
-
import css from 'rollup-plugin-import-css';
|
|
9
|
-
import { RollupOptions } from 'rollup';
|
|
10
|
-
|
|
11
|
-
import packageJson from './package.json' assert { type: 'json' };
|
|
12
|
-
|
|
13
|
-
const rollupConfig: RollupOptions[] = [
|
|
14
|
-
{
|
|
15
|
-
input: 'src/index.ts',
|
|
16
|
-
output: [
|
|
17
|
-
{
|
|
18
|
-
file: packageJson.main,
|
|
19
|
-
format: 'cjs',
|
|
20
|
-
sourcemap: true,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
file: packageJson.module,
|
|
24
|
-
format: 'esm',
|
|
25
|
-
sourcemap: true,
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
plugins: [
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
peerDepsExternal(),
|
|
31
|
-
resolve(),
|
|
32
|
-
commonjs(),
|
|
33
|
-
typescript({
|
|
34
|
-
tsconfig: 'tsconfig.json',
|
|
35
|
-
exclude: ['**/*.test.ts', '**/*.stories.tsx', 'jest.config.ts'],
|
|
36
|
-
}),
|
|
37
|
-
json(),
|
|
38
|
-
css(),
|
|
39
|
-
terser(),
|
|
40
|
-
],
|
|
41
|
-
external: [],
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
input: './dist/src/index.d.ts',
|
|
45
|
-
output: [{ file: 'dist/index.d.ts', format: 'es' }],
|
|
46
|
-
plugins: [dts()],
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
|
|
50
|
-
export default rollupConfig;
|