Commit Graph

1488 Commits

Author SHA1 Message Date
Haoqun Jiang
7e5382ffda fix: findExisting should be case sensitive
closes #2305

We have added `case-sensitive-paths-webpack-plugin` to the base config.
So the filename of instant prototyping entry should also be case-sensitive.
2018-09-16 02:08:43 +08:00
Matthew Pietz
09305db48f chore: add module concatenation hint (#2503)
Allow Webpack to process this file as an ES Module, which allows
concatenating using ModuleConcatenationPlugin, resulting in a slightly
smaller bundle and removes the overhead of a runtime `require()`.

The export default null will get optimized away during tree-shaking.
2018-09-15 01:33:46 +08:00
Haoqun Jiang
c46d9cf1d2 fix: typo in error message
closes #2517
2018-09-14 17:13:53 +08:00
Damian Stasik
22635507d3 fix: Removed padding reset from current project dropdown (#2501) 2018-09-13 00:12:27 +02:00
Haoqun Jiang
b559005ce6 fix: revert postcss-loader order change
The loader used for minification should come first in the rules array
(i.e. execute last, as webpack loaders are executed in reverse order).
2018-09-13 00:10:33 +08:00
Haoqun Jiang
714d12ab1e chore: bump versions for cli-plugins & eslint-configs 2018-09-12 15:08:12 +08:00
Haoqun Jiang
3015bc2537 v3.0.3 2018-09-12 13:18:40 +08:00
Haoqun Jiang
0580415328 chore: pre release sync 2018-09-12 13:18:05 +08:00
Haoqun Jiang
1682ff7c17 fix: fix ESDIR errors when outputDir contains dots
closes #2414

When `toType` is not specified, copy-webpack-plugin will infer it from
the value of `to`. So if it contains one or more dots, it would be
treated as a file with extension.
2018-09-12 13:08:49 +08:00
Haoqun Jiang
0909bc8688 fix: revert file name hashing in dev mode
closes #2492

The change was intended to mitigate the problem that Safari keeps caching
dev bundles.

But it caused several unintended bugs:
1. [Hashes in file names with HMR enabled might cause memory leaks](https://github.com/webpack/webpack-dev-server/issues/377#issuecomment-241258405)
2. Moving the hash to file query also breaks many webpack loaders:
  1. [mocha-webpack](f683583078)
  2. [django-webpack-loader](https://github.com/vuejs/vue-cli/issues/2492))

So till we find a better way to solve this issue, hashes in dev bundles
should be removed.
2018-09-12 12:49:54 +08:00
Haoqun Jiang
69cec80238 fix: hash module ids in anonymous chunks, avoid ENAMETOOLONG error
closes #2490
2018-09-12 11:57:28 +08:00
Haoqun Jiang
cfc08086d8 docs: merge branch 'docs' into dev [ci skip] 2018-09-11 22:52:16 +08:00
Haoqun Jiang
33726981fa v3.0.2 2018-09-11 22:45:32 +08:00
Haoqun Jiang
efde56173e chore: pre release sync 2018-09-11 22:42:16 +08:00
Evan You
7d1818d473 ci: fix css rules test 2018-09-11 10:33:36 -04:00
Evan You
a2d109508f fix: adjust postcss-loader order when using inline minification 2018-09-11 10:16:58 -04:00
悔惜晟
2f19904183 fix: fix HMR hostname when devServe.host is set (#2230) 2018-09-10 21:24:35 +08:00
happy
f0bddd84b3 fix: fix require('@vue/babel-preset-app').version return undefined bug (#2393) 2018-09-10 20:53:31 +08:00
Haoqun Jiang
f683583078 fix: fix file name resovling in mocha env 2018-09-10 20:17:27 +08:00
Haoqun Jiang
52dbdf88ff chore: move the hash part in filename to query parameters (dev mode)
Development builts with HMR enabled have a bunch of problems with hashes
in filenames (e.g., https://github.com/webpack/webpack-dev-server/issues/377#issuecomment-241258405).

But to mitigate the Safari caching issue, hashes cannot be omitted.
So move them to query parameters to see if this works.
2018-09-10 19:54:44 +08:00
Haoqun Jiang
d0320eb8c2 fix: fix cssnanoOptions format
closes #2395
2018-09-09 23:51:45 +08:00
Alexander Sokolov
1392ba562b docs: [RU] Translation update (#2401) [ci skip]
* docs: [RU] build-targets.md fix

* docs: [RU] deployment.md added new section

* Update deployment.md

* docs: (ru) deployment.md fix

* docs: [RU] html-and-static-assets.md правка

* docs: image translated into russian

* added ai assets for en and ru

* docs: (ru) ui-api.md changed to localized image
2018-09-09 01:04:39 +08:00
Mickaël
3def765ba4 fix(cli-plugin-unit-jest): also process SVG files with jest-transform-stub (#2368)
Avoids getting a Jest unexpected token exception when requiring SVG files in template.
2018-09-05 14:33:15 +08:00
Jascha Lülsdorf
c73d9673dc chore: fix typo (#2321) [ci skip] 2018-09-05 14:28:38 +08:00
Haoqun Jiang
c9cc225866 fix: revert default symlinks setting (#2409)
Currently in Vue CLI we set the default `symlinks` config to `false`.
This setting is counterintuitive, and inconsistent with webpack's default
configuration, per https://webpack.js.org/configuration/resolve/#resolve-symlinks

The change of default `symlinks` value is introduced by 5b4df14278
It is most likely a duplicate of 145492b2d9

Since several third-party npm clients uses symlinks to speed up installation
(e.g. cnpm, pnpm...), that change breaks webpack HMR for their users.
See #1559, #2195, #2284

This commit also fixes #1609
2018-09-05 14:24:22 +08:00
Dobromir Hristov
3f434f69c6 fix(plugin api): fix generator dotfile rename for Windows. (#2427)
close #2424
2018-09-04 17:49:17 +08:00
Haoqun Jiang
3247719e20 fix: fix scoped modules exclusion on windows (#2379)
closes #2251
2018-09-04 17:47:10 +08:00
Haoqun Jiang
33dad3906f fix: add hash to filename in development mode (#2403)
to circumvent a Safari caching issue

closes #2391, #1132
2018-09-04 17:44:37 +08:00
Haoqun Jiang
3933187f73 fix: revert named-chunks nameResolver algorithm (#2324)
* Revert "fix: avoid hash collisions (#1959)"

This reverts commit 4b5a63441b.

* Revert "refactor: improve chunk name aesthetics"

This reverts commit 625d541715.
2018-09-04 16:51:48 +08:00
Andy Parsons
f9652a1d4f fix(serve): respect devServer.openPage field (#2309) 2018-09-04 16:17:54 +08:00
Haoqun Jiang
ba15fa26b2 fix: use sync fs methods in writeFileTree (#2341)
closes #2275

Iterating over async functions would put too many write calls in I/O
queue in the same time, leading to weird bugs.
2018-09-03 22:34:53 +08:00
Guillaume Chau
5efbd1b632 feat(configuration details): better loading UX 2018-08-31 19:59:49 +02:00
Guillaume Chau
f8ccef1663 chore: update @vue/ui 2018-08-31 19:55:31 +02:00
Guillaume Chau
ad6f934867 fix: pane toolbar switch background in dark mode 2018-08-31 19:54:07 +02:00
Guillaume Chau
59dbc0241e fix(TopBar): project dropdown button not flat to be more accessible 2018-08-31 19:47:42 +02:00
Guillaume Chau
1333d5ef0d chore: update @vue/ui 2018-08-31 19:43:43 +02:00
Guillaume Chau
812159a345 fix: put actions buttons together, closes #1588 2018-08-31 19:41:11 +02:00
Guillaume Chau
51490c6ae1 fix: ansi up shouldn't escape HTML, closes #2187 2018-08-31 18:20:38 +02:00
Guillaume Chau
de290d8f5b fix(webpack dashboard): anazlyer sort on size types + performance improvements 2018-08-31 16:57:27 +02:00
Guillaume Chau
a549d566d6 fix: restore select element (config/task) 2018-08-31 16:16:03 +02:00
Guillaume Chau
de73414724 test: fix e2e timeout 2018-08-30 17:52:40 +02:00
Guillaume Chau
855da76170 fix(webpack dashboard): support any command for mode 2018-08-30 13:28:08 +02:00
The Jared Wilcurt
ff57b8f55f fix: names of Sass and Less (#2384)
* Sass, not SASS

* Update cssPreprocessors.spec.js
2018-08-29 10:25:09 +02:00
dailynodejs
53509e115f [polish] word mistake (#2331)
polish registry word mistake
2018-08-23 17:41:56 +09:00
Guillaume Chau
4acf48da10 chore: update to latest apollo 2018-08-23 02:20:24 +02:00
Guillaume Chau
f2614103a1 fix(plugin api): IPC now namspaced per project by default, closes #2189 2018-08-23 00:57:47 +02:00
Guillaume Chau
8dd0b11747 fix: expire env maps, closes #1906 2018-08-23 00:12:22 +02:00
Hugo Alliaume
a115151027 docs(cli-ui): add more notes for local development (#2281)
* docs(cli-ui): add some more user-friendly notes

* docs(cli-ui): add notes about running E2E tests locally

* chore(docs:cli-ui): cr/wording

* chore(docs:cli-ui): revert some changes, remove additionnal command for tests

* chore(docs:cli-ui): commands for cli-ui-addon-wepack
2018-08-22 23:11:40 +02:00
Bogdan Luca
bf91533c57 fix(cli-ui): ignore "false" ENOENT errors on Windows (#2294) 2018-08-21 16:36:51 +02:00
Haoqun Jiang
78c6877294 fix: fix hmr compatibility with worker-loader (#2286)
closes #2276
2018-08-20 11:39:07 -04:00