We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04055ba commit a84cfd5Copy full SHA for a84cfd5
src/unassert.js
@@ -7,6 +7,8 @@ export default function unassert(options = {}) {
7
options.exclude
8
);
9
10
+ const unassertOptions = options.unassertOptions ?? {};
11
+
12
return {
13
name: 'unassert',
14
transform(code, id) {
@@ -19,6 +21,7 @@ export default function unassert(options = {}) {
19
21
sourceMap: options.sourcemap !== false ?
20
22
{hires: true} :
23
false,
24
+ ...unassertOptions
25
});
26
},
27
};
0 commit comments