@npm_leadtech/legal-lib-components 0.3.41 → 0.3.42
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.js +2 -5
package/package.json
CHANGED
package/rollup.config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
|
|
1
2
|
import resolve from '@rollup/plugin-node-resolve';
|
|
2
3
|
import babel from '@rollup/plugin-babel';
|
|
3
|
-
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
|
|
4
4
|
import commonjs from '@rollup/plugin-commonjs';
|
|
5
5
|
import postcss from 'rollup-plugin-postcss';
|
|
6
6
|
import packageJson from './package.json';
|
|
@@ -9,7 +9,6 @@ export default {
|
|
|
9
9
|
input: 'src/index.js', // All of your library files will be named exports from here
|
|
10
10
|
output: [
|
|
11
11
|
{
|
|
12
|
-
// This is an easy way to keep your `main` in sync between rollup & the package
|
|
13
12
|
file: packageJson.main,
|
|
14
13
|
format: 'cjs',
|
|
15
14
|
sourcemap: true,
|
|
@@ -17,14 +16,12 @@ export default {
|
|
|
17
16
|
],
|
|
18
17
|
plugins: [
|
|
19
18
|
peerDepsExternal(),
|
|
20
|
-
commonjs({
|
|
21
|
-
include: 'node_modules/**',
|
|
22
|
-
}),
|
|
23
19
|
resolve(),
|
|
24
20
|
babel({
|
|
25
21
|
exclude: 'node_modules/**',
|
|
26
22
|
babelHelpers: 'bundled',
|
|
27
23
|
}),
|
|
24
|
+
commonjs(),
|
|
28
25
|
postcss(),
|
|
29
26
|
],
|
|
30
27
|
};
|