diff --git a/README.md b/README.md index 0a7b0aa..8b00910 100644 --- a/README.md +++ b/README.md @@ -30,24 +30,15 @@ class Test() { ```` - ### Usage ````bash $ yarn add babel-plugin-console-source -D ```` -.babelrc (Will append only the file name and line numbers) -````json -{ - "plugins": [ - "console-source" - ] -} -```` -.babelrc (Will append the last 2 path segments and line numbers) -````json +.babelrc +````javascript { "plugins": [ ["console-source", { @@ -60,4 +51,8 @@ $ yarn add babel-plugin-console-source -D }] ] } -```` \ No newline at end of file +```` + +### Notes + +NPM Install: https://www.npmjs.com/package/babel-plugin-console-source diff --git a/package.json b/package.json index 413be31..45781f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-console-source", - "version": "2.0.0", + "version": "2.0.1", "main": "index.js", "repository": "https://github.com/peteringram0/babel-console-source", "author": "Peter Ingram ",