Skip to content

Commit

Permalink
fix: filename -> file
Browse files Browse the repository at this point in the history
  • Loading branch information
meixg committed Mar 25, 2018
1 parent 02b35f2 commit 61e84aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Fortunately, this module can do this for you.
const generate = require('unchanged-file-sourcemap-generator');

const map = generate(sourceString, {
filename: 'index.js',
file: 'index.js',
sourceRoot: ''
});
```
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const SourceMapGenerator = require('source-map').SourceMapGenerator;
*
* @param {string} source source code string
* @param {Object} options options
* @param {Object} options.filename filename
* @param {Object} options.file filename
* @param {Object} options.sourceRoot sourceRoot
* @return {string}
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unchanged-file-sourcemap-generator",
"version": "1.0.1",
"version": "1.0.2",
"description": "generate sourecemap from an unchanged js file.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 61e84aa

Please sign in to comment.