You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -330,7 +330,7 @@ In v3 this means the opposite of `css.requireModuleExtension`.
330
330
331
331
- Some values like `host`, `port` and `https` may be overwritten by command line flags.
332
332
333
-
- Some values like `publicPath` and `historyApiFallback` should not be modified as they need to be synchronized with [publicPath](#baseurl) for the dev server to function properly.
333
+
- Some values like `publicPath` and `historyApiFallback` should not be modified as they need to be synchronized with [publicPath](#publicPath) for the dev server to function properly.
Copy file name to clipboardExpand all lines: packages/@vue/babel-preset-app/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ This is the default Babel preset used in all Vue CLI projects. **Note: this pres
11
11
-`modules: false`
12
12
- auto set to `'commonjs'` in Jest tests
13
13
-[`useBuiltIns: 'usage'`](#usebuiltins)
14
-
-`targets` is determined:
15
-
-using `browserslist` field in `package.json` when building for browsers
14
+
-`targets`:
15
+
-by default `@babel/preset-env` will use [`browserslist config sources`](https://github.com/browserslist/browserslist#queries) (browserslist key in package.json file is recommend) unless either the [`targets`](https://babeljs.io/docs/en/babel-preset-env#targets) or [`ignoreBrowserslistConfig`](https://babeljs.io/docs/en/babel-preset-env#ignorebrowserslistconfig) options are set.
16
16
- set to `{ node: 'current' }` when running unit tests in Node.js
17
17
- Includes `Promise` polyfill by default so that they are usable even in non-transpiled dependencies (only for environments that need it)
18
18
@@ -50,7 +50,7 @@ Explicitly set `modules` option for `babel-preset-env`. See [babel-preset-env do
50
50
### targets
51
51
52
52
- Default:
53
-
-determined from `browserslist` field in `package.json` when building for browsers
53
+
-`@vue/babel-preset-app` will use [`browserslist config sources`](https://github.com/browserslist/browserslist#queries) (browserslist key in package.json file is recommend) unless either the [`targets`](https://babeljs.io/docs/en/babel-preset-env#targets) or [`ignoreBrowserslistConfig`](https://babeljs.io/docs/en/babel-preset-env#ignorebrowserslistconfig) options are set.
54
54
- set to `{ node: 'current' }` when running unit tests in Node.js
55
55
56
56
Explicitly set `targets` option for `babel-preset-env`. See [babel-preset-env docs](https://github.com/babel/babel/tree/master/packages/babel-preset-env#targets) for more details.
0 commit comments