@kashifd/jwero-components 0.1.2 → 0.1.3

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/dist/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React + TS</title>
8
- <script type="module" crossorigin src="/assets/index-smTnEV0e.js"></script>
9
- </head>
10
- <body>
11
- <div id="root"></div>
12
- </body>
13
- </html>
package/rollup.config.mjs DELETED
@@ -1,44 +0,0 @@
1
- import resolve from '@rollup/plugin-node-resolve';
2
- import commonjs from '@rollup/plugin-commonjs';
3
- import terser from '@rollup/plugin-terser';
4
- import peerDepsExternal from 'rollup-plugin-peer-deps-external';
5
- import { babel } from '@rollup/plugin-babel';
6
-
7
- // This is required to read package.json file when
8
- // using Native ES modules in Node.js
9
- // https://rollupjs.org/command-line-interface/#importing-package-json
10
- import { createRequire } from 'node:module';
11
- const requireFile = createRequire(import.meta.url);
12
- const packageJson = requireFile('./package.json');
13
-
14
- export default [
15
- {
16
- input: 'src/index.js',
17
- output: [
18
- {
19
- file: packageJson.main,
20
- format: 'cjs',
21
- sourcemap: true,
22
- },
23
- {
24
- file: packageJson.module,
25
- format: 'esm',
26
- exports: 'named',
27
- sourcemap: true,
28
- },
29
- ],
30
- plugins: [
31
- peerDepsExternal(),
32
- resolve({
33
- extensions: ['.js', '.jsx'],
34
- }),
35
- commonjs(),
36
- terser(),
37
- babel({
38
- extensions: ['.js', '.jsx'],
39
- exclude: 'node_modules/**',
40
- }),
41
- ],
42
- external: ['react', 'react-dom', '@emotion/react', '@emotion/styled'],
43
- },
44
- ];
package/src/index.tsx DELETED
@@ -1 +0,0 @@
1
- export * from "./components/JweroPrimaryButton";