Exclude test files from packaging
This commit is contained in:
@@ -16,6 +16,9 @@ const config = {
|
||||
package: {
|
||||
exports: (filepath) => {
|
||||
return filepath.endsWith("index.js");
|
||||
},
|
||||
files: (filepath) => {
|
||||
return !filepath.endsWith(".test.ts");
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user