Skip to content

Commit 14f22a1

Browse files
committed
Update default file pattern to include mjs and cjs extensions
1 parent b855f27 commit 14f22a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function run(octokit, context, token) {
4242

4343
const plugin = new SizePlugin({
4444
compression: getInput('compression'),
45-
pattern: getInput('pattern') || '**/dist/**/*.js',
45+
pattern: getInput('pattern') || '**/dist/**/*.{js,mjs,cjs}',
4646
exclude: getInput('exclude') || '{**/*.map,**/node_modules/**}',
4747
stripHash: stripHash(getInput('strip-hash'))
4848
});

0 commit comments

Comments
 (0)