Skip to content

Commit

Permalink
docs ~ refactor JS example
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Dec 27, 2020
1 parent 2983f4c commit 3f0fad5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eg/show-paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
/* eslint-env es6, node */
'use strict';

const osPaths = require('../build/umd');
const pkg = require('../' + 'package.json');

const osPaths = require('../' + pkg.main);

console.log({ osPaths });

Expand Down

0 comments on commit 3f0fad5

Please sign in to comment.