Exclude test files from packaging

This commit is contained in:
Ryan Gossiaux
2021-12-26 17:41:58 -08:00
parent 76efee0e21
commit b207405a1e

View File

@@ -16,6 +16,9 @@ const config = {
package: { package: {
exports: (filepath) => { exports: (filepath) => {
return filepath.endsWith("index.js"); return filepath.endsWith("index.js");
},
files: (filepath) => {
return !filepath.endsWith(".test.ts");
} }
}, },