Skip to content

Commit

Permalink
Addon Vitest: Fix postinstall file types
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Aug 27, 2024
1 parent db7ff48 commit d109914
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion code/addons/vitest/postinstall.cjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./dist/postinstall.js');
module.exports = require('./dist/postinstall.cjs');
7 changes: 1 addition & 6 deletions code/addons/vitest/preset.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
function managerEntries(entry = []) {
return [...entry, require.resolve('./dist/manager.js')];
}

module.exports = {
managerEntries,
...require('./dist/preset'),
...require('./dist/preset.cjs'),
};

0 comments on commit d109914

Please sign in to comment.