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.
- package/README.md +3 -4
- 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: [
|
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
|
-
##
|
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.
|
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": "^
|
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.
|
24
|
-
"@babel/core": "^7.
|
25
|
-
"@babel/preset-env": "^7.
|
26
|
-
"ava": "0.
|
27
|
-
"babel-eslint": "^
|
28
|
-
"babel-plugin-istanbul": "^
|
29
|
-
"babel-plugin-react-intl": "^
|
30
|
-
"cross-env": "^5.
|
31
|
-
"eslint": "^
|
32
|
-
"eslint-config-babel": "^8.0.
|
33
|
-
"eslint-
|
34
|
-
"eslint-plugin-
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
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
|
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
|
-
"
|
93
|
+
"sources": [
|
93
94
|
"src/**/*.js"
|
94
95
|
]
|
95
96
|
},
|