@cley_faye/boilerplate 3.8.0 → 3.9.0
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.
|
@@ -27,7 +27,7 @@ export interface WebpackLoadersOptions {
|
|
|
27
27
|
* Version of core-js to use (default to 3)
|
|
28
28
|
*
|
|
29
29
|
* @param [options.babel.targets]
|
|
30
|
-
* Browser targets (default to "
|
|
30
|
+
* Browser targets (default to " > 1%, last 1 safari version")
|
|
31
31
|
*
|
|
32
32
|
* @param [options.babel.plugins]
|
|
33
33
|
* Plugins to add to babel
|
|
@@ -49,7 +49,7 @@ const defaultLoadersDefine = (options) => [
|
|
|
49
49
|
const defaultLoadersPresetEnv = (options) => [
|
|
50
50
|
"@babel/preset-env",
|
|
51
51
|
{
|
|
52
|
-
targets: (options.babel?.targets) ?? "
|
|
52
|
+
targets: (options.babel?.targets) ?? "> 1%, last 1 safari version",
|
|
53
53
|
useBuiltIns: "usage",
|
|
54
54
|
corejs: (options.babel?.corejs) ?? defaultCoreJS,
|
|
55
55
|
modules: false,
|
|
@@ -75,7 +75,7 @@ const defaultLoadersReact = (options) => [
|
|
|
75
75
|
* Version of core-js to use (default to 3)
|
|
76
76
|
*
|
|
77
77
|
* @param [options.babel.targets]
|
|
78
|
-
* Browser targets (default to "
|
|
78
|
+
* Browser targets (default to " > 1%, last 1 safari version")
|
|
79
79
|
*
|
|
80
80
|
* @param [options.babel.plugins]
|
|
81
81
|
* Plugins to add to babel
|