babel-loader 8.0.4 → 8.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +21 -20
package/README.md CHANGED
@@ -74,7 +74,7 @@ module: {
74
74
  loader: 'babel-loader',
75
75
  options: {
76
76
  presets: ['@babel/preset-env'],
77
- plugins: [require('@babel/plugin-proposal-object-rest-spread')]
77
+ plugins: ['@babel/plugin-proposal-object-rest-spread']
78
78
  }
79
79
  }
80
80
  }
@@ -92,8 +92,6 @@ This loader also supports the following loader-specific option:
92
92
 
93
93
  * `customize`: Default `null`. The path of a module that exports a `custom` callback [like the one that you'd pass to `.custom()`](#customized-loader). Since you already have to make a new file to use this, it is recommended that you instead use `.custom` to create a wrapper loader. Only use this is you _must_ continue using `babel-loader` directly, but still want to customize.
94
94
 
95
- **Note**: The `sourceMap` option is ignored. Instead, source maps are automatically enabled when webpack is configured to use them (via the [`devtool`](https://webpack.js.org/configuration/devtool/#devtool) config option).
96
-
97
95
  ## Troubleshooting
98
96
 
99
97
  ### babel-loader is slow!
@@ -296,4 +294,5 @@ be passed to `babel.transform`.
296
294
  Given Babel's result object, allow loaders to make additional tweaks to it.
297
295
 
298
296
 
299
- ## [License](https://couto.mit-license.org/)
297
+ ## License
298
+ [MIT](https://couto.mit-license.org/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-loader",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
4
4
  "description": "babel module loader for webpack",
5
5
  "files": [
6
6
  "lib"
@@ -10,7 +10,7 @@
10
10
  "node": ">= 6.9"
11
11
  },
12
12
  "dependencies": {
13
- "find-cache-dir": "^1.0.0",
13
+ "find-cache-dir": "^2.0.0",
14
14
  "loader-utils": "^1.0.2",
15
15
  "mkdirp": "^0.5.1",
16
16
  "util.promisify": "^1.0.0"
@@ -20,25 +20,26 @@
20
20
  "webpack": ">=2"
21
21
  },
22
22
  "devDependencies": {
23
- "@babel/cli": "^7.0.0",
24
- "@babel/core": "^7.0.0",
25
- "@babel/preset-env": "^7.0.0",
26
- "ava": "0.25.0",
27
- "babel-eslint": "^8.0.0",
28
- "babel-plugin-istanbul": "^4.0.0",
29
- "babel-plugin-react-intl": "^2.1.3",
30
- "cross-env": "^5.0.0",
31
- "eslint": "^4.1.0",
32
- "eslint-config-babel": "^8.0.0",
33
- "eslint-plugin-flowtype": "^2.25.0",
34
- "eslint-plugin-prettier": "^2.1.2",
35
- "husky": "^0.14.0",
36
- "lint-staged": "^7.1.0",
37
- "nyc": "^11.0.1",
38
- "prettier": "^1.2.2",
23
+ "@babel/cli": "^7.2.0",
24
+ "@babel/core": "^7.2.0",
25
+ "@babel/preset-env": "^7.2.0",
26
+ "ava": "1.0.1",
27
+ "babel-eslint": "^10.0.1",
28
+ "babel-plugin-istanbul": "^5.1.0",
29
+ "babel-plugin-react-intl": "^3.0.1",
30
+ "cross-env": "^5.2.0",
31
+ "eslint": "^5.9.0",
32
+ "eslint-config-babel": "^8.0.2",
33
+ "eslint-config-prettier": "^3.3.0",
34
+ "eslint-plugin-flowtype": "^3.2.0",
35
+ "eslint-plugin-prettier": "^3.0.0",
36
+ "husky": "^1.2.0",
37
+ "lint-staged": "^8.1.0",
38
+ "nyc": "^13.1.0",
39
+ "prettier": "^1.15.3",
39
40
  "react": "^16.0.0",
40
41
  "react-intl": "^2.1.2",
41
- "react-intl-webpack-plugin": "^0.0.3",
42
+ "react-intl-webpack-plugin": "^0.3.0",
42
43
  "rimraf": "^2.4.3",
43
44
  "webpack": "^4.0.0"
44
45
  },
@@ -89,7 +90,7 @@
89
90
  "!test/fixtures/**/*",
90
91
  "!test/helpers/**/*"
91
92
  ],
92
- "source": [
93
+ "sources": [
93
94
  "src/**/*.js"
94
95
  ]
95
96
  },