@lipemat/js-boilerplate 10.3.0-beta.6 → 10.3.0-beta.7
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/config/babel.config.js +10 -1
- package/package.json +2 -2
package/config/babel.config.js
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
const {getBrowsersList} = require( '../helpers/config' );
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Use Babel's preset-env to add support for target browsers.
|
|
5
|
+
*
|
|
6
|
+
* @note Set the `debug` option to `true` to debug the included polyfills and plugins.
|
|
7
|
+
*
|
|
8
|
+
* @see https://babeljs.io/docs/en/babel-preset-env
|
|
9
|
+
*/
|
|
3
10
|
const presetEnv = {
|
|
4
11
|
bugfixes: true,
|
|
5
12
|
corejs: {
|
|
6
|
-
version
|
|
13
|
+
// Use the core-js version currently installed in the project.
|
|
14
|
+
version: require( 'core-js/package.json' ).version,
|
|
7
15
|
},
|
|
16
|
+
debug: false,
|
|
8
17
|
shippedProposals: true,
|
|
9
18
|
targets: {
|
|
10
19
|
browsers: getBrowsersList(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lipemat/js-boilerplate",
|
|
3
|
-
"version": "10.3.0-beta.
|
|
3
|
+
"version": "10.3.0-beta.7",
|
|
4
4
|
"description": "Dependencies and scripts for a no config JavaScript app",
|
|
5
5
|
"author": "Mat Lipe",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"clean-css": "^5.3.0",
|
|
55
55
|
"clean-webpack-plugin": "^4.0.0",
|
|
56
56
|
"compression-webpack-plugin": "^10.0.0",
|
|
57
|
-
"core-js": "~3.
|
|
57
|
+
"core-js": "~3.31.1",
|
|
58
58
|
"cross-spawn": "^6.0.5",
|
|
59
59
|
"css-loader": "6.7.1",
|
|
60
60
|
"fork-ts-checker-webpack-plugin": "^7.2.13",
|