Commit Graph

339 Commits

Author SHA1 Message Date
nio89
e85e3a58f7
docs: typo (#2005) [skip ci]
trasnpiling -> transpiling
2021-02-13 14:50:54 -05:00
Evan You
589b29596e fix: ensure intellisense for all create-app templates 2021-02-12 11:05:11 -05:00
Evan You
0318c64cc3 feat(resolve): expose full resolve options via config
- New config options:
  - `resolve.conditions`
  - `resolve.mainFields`
  - `resolve.extensions`
- Deprecation: `alias` is now `resolve.alias`
- Deprecation: `dedupe` is now `resolve.dedupe`

close #1951
2021-02-09 22:27:26 -05:00
Caleb Eby
0f692ce058
docs: fix typo in config docs @type (#1947) 2021-02-08 22:09:57 -05:00
Evan You
cdab0a71e8 docs: ssr docs edits 2021-02-03 16:26:05 -05:00
Evan You
424a95e5a1 docs: ssr guide 2021-02-02 22:53:18 -05:00
Evan You
a139fbaf58 docs: update optimizeDeps options 2021-02-02 22:02:45 -05:00
Evan You
4ca98b405e docs: move static asset handling into its own page 2021-02-02 15:44:43 -05:00
Evan You
aaed7d7f37 docs: build.commonjsOptions no longer apply to pre-bundling 2021-01-29 15:54:37 -05:00
Evan You
470ceb8276 feat: support configuring publicDir via config
close #1799
2021-01-29 14:01:36 -05:00
Evan You
a6ed213b31 docs: update optimizeDeps options 2021-01-27 01:04:35 -05:00
Evan You
98c321b369 feat: support stringifying json
close #1672
2021-01-23 21:57:16 -05:00
Evan You
00bc446656 fix: support empty, relative and external base values
close #1669
2021-01-23 15:48:07 -05:00
Evan You
38524f6c6e refactor: remove optimizeDeps.plugins
BREAKING CHANGE: `optimizeDeps.plugins` has been removed. The dep
optimizer is now using `esbuild`, and all non-js files are automatically
externalized to be processed by Vite's transform pipeline when imported.
2021-01-22 22:04:51 -05:00
bompus
809d4bd3bf
feat: support base option during dev, deprecate build.base (#1556) 2021-01-22 17:45:51 -05:00
Evan You
6bd21402a9 feat: allow inline postcss config
close #1061
2021-01-20 16:44:31 -05:00
Evan You
c5c32982f2 feat: add clearScreen option 2021-01-14 15:09:54 -05:00
plq
25e9c44992
feat: support specifying URL path via server.open option (#1514) 2021-01-14 13:48:44 -05:00
Timo Zander
f39a2aafd3
feat(vite): support RegExp strings as server.proxy keys (#1510) 2021-01-13 11:15:20 -05:00
Alexis Tyler
ac9ec0d726
docs: fix "speical" typo (#1508) 2021-01-12 22:31:13 -05:00
Evan You
730d2f0d80 feat: require explicit option to empty outDir when it is out of root
close #1501
2021-01-12 12:33:47 -05:00
Sacha STAFYNIAK
05010846cb
feat(server): add strict-port option (#1453) 2021-01-11 15:15:54 -05:00
Evan You
6ed8e286f1 feat: allow passing options to rollup commonjs plugin via build.commonjsOptions
close #1460
2021-01-10 18:19:09 -05:00
Evan You
1ea0168239 feat(optimizer): support specifying plugins for the optimizer 2021-01-09 23:40:53 -05:00
Evan You
8b8d5061ea refactor(optimizer): adjust node built-in handling
- prefer resolved if resolvable
- externalize to empty module when not resolved
- better plugin warning handling
2021-01-09 22:53:51 -05:00
zhenzhenChange
91dbb01709
chore: typos (#1463) [skip ci] 2021-01-09 22:00:05 -05:00
Evan You
aa5463c6d4 docs: note on alias value 2021-01-09 00:37:52 -05:00
Evan You
f1db57636b docs: document mode config 2021-01-07 11:02:58 -05:00
Patrick Dobbs
7a9aba57dc
docs: fixed incorrect server.proxy example (#1394) 2021-01-06 21:42:08 +08:00
Sebastian Seilund
39f2002c1a
docs: fix build.polyfillDynamicImport naming (#1387) 2021-01-06 15:34:45 +08:00
Evan You
756e90ff9b feat(build): default build target to 'modules' with dynamic import polyfill 2021-01-05 18:11:21 -05:00
Evan You
99522d0edf refactor: remove the need for specifying trnasformInclude
BREAKING CHANGE: `trnasformInclude` option has been removed and is no
longer necessary. This allows full dynamic imports to custom file types
to automatically qualify for the transform pipeline.

    - All requests that accept `*/*` AND is not declared an asset type
    will now qualify for the transform pipeline.

    - To exclude an asset type from being transformed when requested
    directly, declare it as asset via `config.assetsInclude`.
2021-01-05 12:04:41 -05:00
Evan You
ef100d09cb feat: default clean-css level to 1 + expose options
close #936
2021-01-04 21:20:02 -05:00
Anbraten
355cb5b44a
docs: fix typo at config doc (#1349) 2021-01-04 13:44:02 -05:00
Evan You
b5b14962b5 feat: esbuild.(include|exclude|jsxInject) 2021-01-03 22:34:11 -05:00
Evan You
7858e62927 feat: dedupe option
close #1302
2021-01-02 22:35:33 -05:00
Matias Capeletto
a8a8e2231c
docs: fix typos (#1283) 2021-01-02 17:53:38 +08:00
Evan You
3a27fa376e docs: migration guide 2021-01-01 22:39:39 -05:00
Evan You
26452d9d06 docs: docs 2021-01-01 16:46:52 -05:00