Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
WezomDev committed Aug 27, 2019
1 parent 97c7f34 commit 8096538
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
thumbs.db
*.ipr
*.iws

node_modules/
package-lock.json
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Wezom
Copyright (c) 2018 WezomAgency

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,17 @@ module.exports = {
};

```

---

#### Contributors 💪

- April Arcus [@AprilArcus](https://github.com/AprilArcus)

---

#### License

[MIT License](https://github.com/WezomAgency/babel-loader-exclude-node-modules-except/blob/master/LICENSE)

---
14 changes: 8 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
'use strict';

var path = require('path')
, escapeStringRegexp = require('escape-string-regexp')
, ESCAPED_NODE_MODULES = escapeStringRegexp('node_modules')
, ESCAPED_PATH_SEP = escapeStringRegexp(path.sep);

/**
* @module
* @author Oleg Dutchenko <[email protected]>
* @version 1.0.2
* @version 1.0.3
* @contributors
* - April Arcus {@link https://github.com/AprilArcus}
*/

var path = require('path')
, escapeStringRegexp = require('escape-string-regexp')
, ESCAPED_NODE_MODULES = escapeStringRegexp('node_modules')
, ESCAPED_PATH_SEP = escapeStringRegexp(path.sep);

// ----------------------------------------
// Public
// ----------------------------------------
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-loader-exclude-node-modules-except",
"version": "1.0.2",
"version": "1.0.3",
"description": "Creating a regular expression for excluding node_modules from babel transpiling except for individual modules",
"main": "index.js",
"scripts": {
Expand All @@ -18,12 +18,15 @@
"es6 modules"
],
"author": "Oleg Dutchenko <[email protected]>",
"contributors": [
"April Arcus (https://github.com/AprilArcus)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/WezomAgency/babel-loader-exclude-node-modules-except/issues"
},
"homepage": "https://github.com/WezomAgency/babel-loader-exclude-node-modules-except#readme",
"dependencies": {
"escape-string-regexp": "^2.0.0"
"escape-string-regexp": "2.0.0"
}
}

0 comments on commit 8096538

Please sign in to comment.