Commit Graph

1177 Commits

Author SHA1 Message Date
Clark Du
061718c66d
refactor: use hooks in webpack build hook 2018-03-13 10:38:29 +08:00
Clark Du
4bbc8a91f6
test: when console has been spied in test, ignore muting in progress plugin 2018-03-13 10:22:30 +08:00
Clark Du
2a931cbad6
refactor: remove vendor 2018-03-13 09:46:37 +08:00
Pooya Parsa
94f602f2c0 improve cli loading 2018-03-12 18:46:08 +03:30
Clark Du
365a6adc35
refactor: change splitChunks file name to vendor.hash.js 2018-03-12 10:32:43 +08:00
Pooya Parsa
096e22affd fix: cleanup progress 2018-03-12 03:12:34 +03:30
Pooya Parsa
9fe564b8f2 parallel builds + new progress bar 2018-03-12 02:45:14 +03:30
Pooya Parsa
4c6bb3767b fix tests 2018-03-12 01:10:16 +03:30
Pooya Parsa
b8f8f18384 optimize webpack 2018-03-12 00:58:56 +03:30
Pooya Parsa
23ab6612e4 Merge branch 'dev' into feat/webpack4 2018-03-11 23:26:48 +03:30
David
ce9bb082aa
fix: escape quotes in page file names
This commit seeks to fix a possible security issue described in #2991.
2018-03-11 08:38:50 +07:00
Clark Du
f9d2bce5af
refactor: move babel defaults value to Options.defaults 2018-03-09 14:30:50 +08:00
Clark Du
97a6f46507
refactor: move babel defaults value to proper place 2018-03-09 14:19:36 +08:00
otato.z
4b46058994 fix: babelrc cannot be set to true 2018-03-09 13:33:14 +08:00
Clark Du
e514ce326c
coverage: ignore file name in error stack trace does not exist 2018-03-09 10:18:08 +08:00
oXg3n
b554a524a8 Fix HTML script tag in core/renderer to pass W3C validation (The type attribute is unnecessary for Javascript resources) 2018-03-08 15:38:29 +01:00
Sébastien Chopin
bb5a604c1b
Merge pull request #2950 from clarkdo/jsdomError
fix: throw jsdomError to avoid renderAndGetWindow hanging
2018-03-06 10:17:07 +01:00
Clark Du
0783be2790
refator: remove jsdomError listener before returning window 2018-03-06 16:29:21 +08:00
Clark Du
d9d747c9a8
refator: only throw jsdomerror in window initialization 2018-03-06 16:14:34 +08:00
Clark Du
d6f22c904d
fix: throw jsdomError to avoid renderAndGetWindow hanging 2018-03-06 14:03:09 +08:00
dojineko
dd9dfc6d55 to be simple 2018-03-05 09:58:10 +09:00
Sébastien Chopin
83c1e085a5
Merge pull request #2831 from jasonc08/dev
inject ssrContext into createRouter and createStore
2018-03-01 17:42:10 +01:00
Sébastien Chopin
a89a0f7ca9 Update router.js 2018-03-01 18:31:19 +03:30
devneko
5f55bf76bd fix DOMException when using an url-hash that is not valid as css selector 2018-03-01 18:31:19 +03:30
Pooya Parsa
8a3e64c1bf remove extra watching 2018-03-01 16:48:47 +03:30
Clark Du
f412827570
Merge pull request #2909 from liborvanek/dev
Include Vuex only when store is not empty
2018-03-01 20:57:28 +08:00
Pooya Parsa
36b5b6ff33 revert uncessassary hacks 2018-03-01 16:04:35 +03:30
Pooya Parsa
3c4bcf0b09 fix linter error 2018-03-01 10:46:56 +03:30
Pooya Parsa
23c11b1cef remove dll support
webpack 4 is more faster and dll is
 problematic and unstable.
2018-03-01 10:42:48 +03:30
Pooya Parsa
46de1a32cf Merge branch 'dev' into feat/webpack4 2018-03-01 10:20:04 +03:30
Pooya Parsa
e0cc9a1cc6 fix: ignore test files inside middleware and store (#2905) 2018-03-01 09:38:42 +03:30
Sébastien Chopin
ca13b6bfbb fix: Comment line since we use _dataRefresh 2018-02-28 16:46:48 +01:00
Sébastien Chopin
8903db1c27 fix: Fix watchQuery on reused page component 2018-02-28 16:40:59 +01:00
Pooya Parsa
2c023899a2 use time-fix-plugin 2018-02-28 10:58:17 +03:30
Libor Vaněk
d7b1dd53ac
Include Vuex only when store is not empty 2018-02-27 23:08:19 +02:00
Pooya Parsa
a65db22701 builder: add devMiddleware watching into this.compilersWatching 2018-02-27 16:37:05 +03:30
Hana Shiro
0a823252ae fix file permission in lib and test (#2883) 2018-02-27 00:18:36 +03:30
Clark Du
9ab4ebde78 Revert "refactor: styleResources watch patterns"
This reverts commit a764fb691d.
2018-02-26 21:30:15 +08:00
Pooya Parsa
cfe1df2115 fix typo. 2018-02-26 16:45:08 +03:30
Pooya Parsa
8992c1ee36 webpack: use webpack 4 default devtool for client bundle 2018-02-26 14:48:14 +03:30
Pooya Parsa
742ea42f97 webpack: process.env.NODE_ENV are set to production or development 2018-02-26 14:44:13 +03:30
Pooya Parsa
32aeeab0ae merge with dev 2018-02-26 14:36:52 +03:30
Pooya Parsa
08d02ddb10 webpack: upgrade timefix and warnfix plugins to use hooks 2018-02-26 14:14:24 +03:30
Pooya Parsa
f987d16adb webpack: remove NameModulesPlugin
enabled in development mode. Configurable with optimization.namedModules
2018-02-26 14:04:22 +03:30
Pooya Parsa
eae92d7275 remove build.scopeHoisting option
ModuleConcatenationPlugin enabled in production. Configurable with  optimization.concatenateModules
2018-02-26 14:03:21 +03:30
Pooya Parsa
bb0585c84d webpack: remove NoEmitOnErrorsPlugin
configurable by optimization.noEmitOnErrors. on for production by default
2018-02-26 14:02:40 +03:30
Pooya Parsa
e0a35f76eb webpack: set mode option 2018-02-26 13:56:31 +03:30
Pooya Parsa
eb2e0c5ccd remove commonChunksPlugin 2018-02-26 13:54:10 +03:30
Clark Du
a764fb691d refactor: styleResources watch patterns 2018-02-26 13:35:36 +08:00
Hana Shiro
ce6f8b9e8a Add watch options.build.styleResources as default in dev mode 2018-02-23 05:20:07 +08:00