mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-02 08:14:06 +03:00
fix treeshaking test
This commit is contained in:
@@ -118,7 +118,7 @@ describe('tree shaking', () => {
|
||||
if (output) {
|
||||
const outputArr = Array.isArray(output) ? output : [output];
|
||||
const outputConfig = outputArr.find(
|
||||
({ file }) => path.basename(file) === 'overlayscrollbars.esm.js'
|
||||
({ file }) => file && path.basename(file) === 'overlayscrollbars.esm.js'
|
||||
);
|
||||
if (outputConfig) {
|
||||
inputConfig.output = outputConfig;
|
||||
|
||||
Reference in New Issue
Block a user