Skip to content

Commit

Permalink
fix: build for test
Browse files Browse the repository at this point in the history
  • Loading branch information
balavishnuvj committed Jun 15, 2022
1 parent 37c3343 commit d6cc07a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/react-hooks-form-validator.cjs');
} else {
if (process.env.NODE_ENV === 'development') {
module.exports = require('./src/index.js');
} else {
module.exports = require('./dist/react-hooks-form-validator.cjs');
}

0 comments on commit d6cc07a

Please sign in to comment.