1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
Description: drop rollup-plugin-size
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2021-10-11
--- a/stylis/script/build.js
+++ b/stylis/script/build.js
@@ -1,6 +1,5 @@
import {join} from 'path'
import {terser} from 'rollup-plugin-terser'
-import size from 'rollup-plugin-size'
const emitPackageScopeFile = (type) => {
return {
@@ -31,13 +30,13 @@
...defaults,
input: configInput,
output: [{file: join(configSrc, 'dist', 'umd', 'stylis.js'), format: 'umd', name: 'stylis', freeze: false, sourcemap: true}],
- plugins: [emitPackageScopeFile('commonjs'), terser(options), size()]
+ plugins: [emitPackageScopeFile('commonjs'), terser(options)]
},
{
...defaults,
input: configInput,
output: [{file: join(configSrc, 'dist', 'stylis.mjs'), format: 'esm', name: 'stylis', freeze: false, sourcemap: true}],
- plugins: [terser(options), size()]
+ plugins: [terser(options)]
}
]
}
|