freemium-ui 2.0.0-beta.0 → 2.0.0-beta.2

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/rollup.config.mjs DELETED
@@ -1,47 +0,0 @@
1
- import peerDepsExternal from 'rollup-plugin-peer-deps-external';
2
- import resolve from '@rollup/plugin-node-resolve';
3
- import commonjs from '@rollup/plugin-commonjs';
4
- import typescript from '@rollup/plugin-typescript';
5
- import postcss from 'rollup-plugin-postcss';
6
- import dts from 'rollup-plugin-dts';
7
- // import terser from '@rollup/plugin-terser';
8
-
9
- // This is required to read package.json file when
10
- // using Native ES modules in Node.js
11
- // https://rollupjs.org/command-line-interface/#importing-package-json
12
- import { createRequire } from 'node:module';
13
- const requireFile = createRequire(import.meta.url);
14
- const packageJson = requireFile('./package.json');
15
-
16
- const config = [
17
- {
18
- input: 'src/index.ts',
19
- output: [
20
- {
21
- file: packageJson.main,
22
- format: 'cjs',
23
- },
24
- {
25
- file: packageJson.module,
26
- format: 'esm',
27
- },
28
- {
29
- file: packageJson.types,
30
- format: 'es',
31
- sourcemap: false,
32
- },
33
- ],
34
- plugins: [
35
- peerDepsExternal(),
36
- resolve(),
37
- commonjs(),
38
- typescript(),
39
- postcss({
40
- extensions: ['.css'],
41
- }),
42
- dts(),
43
- ],
44
- },
45
- ];
46
-
47
- export default config;