File: exclude-test-files-from-rollup.patch

package info (click to toggle)
node-webfont 11.4.0%2Bdfsg2%2B~cs35.7.26-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 122,048 kB
  • sloc: xml: 3,682,028; ansic: 31,165; javascript: 12,580; cpp: 4,386; python: 689; sh: 307; makefile: 228
file content (18 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Exclude test files from rollup (main module)
Author: Israel Galadima <izzygaladima@gmail.com>
Forwarded: not-needed
Last-Update: 2022-12-22

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -15,7 +15,9 @@
 ];
 
 const plugins = [
-  typescript(),
+  typescript({
+    exclude: ["**/*.test*.ts"]
+  }),
   commonjs(),
 ];