Skip to content

Commit

Permalink
fix: move yargs.cjs to yargs to fix Node 10 imports (#1747)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Sep 10, 2020
1 parent 98189e5 commit 5bfb85b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -12,7 +12,7 @@
"import": "./helpers.mjs"
},
"./yargs": {
"require": "./yargs.cjs"
"require": "./yargs"
}
},
"type": "module",
Expand All @@ -28,7 +28,7 @@
"index.cjs",
"helpers.mjs",
"index.mjs",
"yargs.cjs",
"yargs",
"build",
"locales",
"LICENSE",
Expand Down
4 changes: 2 additions & 2 deletions test/helpers.cjs
Expand Up @@ -2,8 +2,8 @@

const {describe, it} = require('mocha')
const assert = require('assert')
const yargs = require('../yargs.cjs');
const { applyExtends } = require('../yargs.cjs');
const yargs = require('../yargs');
const { applyExtends } = require('../yargs');

const HELPER_COUNT = 2;

Expand Down
File renamed without changes.

0 comments on commit 5bfb85b

Please sign in to comment.