Skip to content

Commit

Permalink
refactor: Build with Vite.
Browse files Browse the repository at this point in the history
  • Loading branch information
darkobits committed Feb 14, 2023
1 parent 4e9f09e commit c8bcf81
Show file tree
Hide file tree
Showing 6 changed files with 16,519 additions and 12,008 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
extends: 'plugin:@darkobits/ts'
extends: 'plugin:@darkobits/ts',
ignorePatterns: ['fixtures/**']
};
15 changes: 14 additions & 1 deletion nr.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
import { nr } from '@darkobits/ts';

export default nr();

export default nr(({ command, script, isCI }) => {
if (!isCI) {
script('postBuild', {
group: 'Lifecycles',
run: [
[
command.node('fixtures.cjs', ['./fixtures/cjs/index.js']),
command.node('fixtures.esm', ['./fixtures/esm/index.js'])
]
]
});
}
});

0 comments on commit c8bcf81

Please sign in to comment.