jrs-react 1.0.32 → 1.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rollup.config.js +0 -44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jrs-react",
3
- "version": "1.0.32",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",
package/rollup.config.js DELETED
@@ -1,44 +0,0 @@
1
- import babel from 'rollup-plugin-babel';
2
- import resolve from '@rollup/plugin-node-resolve';
3
- import external from 'rollup-plugin-peer-deps-external';
4
- import { terser } from 'rollup-plugin-terser';
5
- import postcss from 'rollup-plugin-postcss';
6
- import commonjs from '@rollup/plugin-commonjs';
7
- import nodeResolve from '@rollup/plugin-node-resolve';
8
- import json from '@rollup/plugin-json';
9
-
10
- export default [
11
- {
12
- input: './src/index.js',
13
- output: [
14
- {
15
- file: 'build/index.js',
16
- format: 'cjs',
17
- },
18
- {
19
- file: 'build/index.es.js',
20
- format: 'es',
21
- exports: 'named',
22
- }
23
- ],
24
- plugins: [
25
- postcss({
26
- plugins: [],
27
- minimize: true,
28
- }),
29
- nodeResolve({
30
- extensions: ['.js', '.jsx']
31
- }),
32
- babel({
33
- exclude: 'node_modules/**',
34
- presets: ['@babel/preset-react'],
35
- extensions: ['.js', '.jsx']
36
- })
37
- ,commonjs()
38
- ,external()
39
- ,resolve()
40
- // ,terser()
41
- ,json()
42
- ]
43
- }
44
- ];