Exclude test files from packaging
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user