Commit Graph

1168 Commits

Author SHA1 Message Date
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
Ricardo Gobbo de Souza f7928d0413 perf: if need parse path 2018-02-14 17:32:41 -02:00
Ricardo Gobbo de Souza 764fe7b8f1 fix: typo 2018-02-14 17:31:11 -02:00
jason 65b8148a3d inject ssrContext into createRouter and createStore 2018-02-14 01:45:37 +08:00
Ricardo Gobbo de Souza f0a6bdd51a feat: add layout on module 2018-02-07 09:58:48 -02:00
Ricardo Gobbo de Souza 6f073d7093 fix: conflict old pr 2018-02-05 12:54:36 -02:00
Sébastien Chopin 0b1e54dc57
Merge branch 'dev' into config-pages-dir 2018-02-05 09:16:27 +01:00
Sébastien Chopin 6acd9b6516
Merge pull request #2736 from dojineko/variable-csp
Multiple policy support for Content-Security-Policy
2018-02-05 09:14:11 +01:00
Sébastien Chopin ff411fe08c
Merge pull request #2742 from PeterPanZH/dev
fix #2741: add staging environment via NODE_ENV
2018-02-05 09:12:32 +01:00
Sébastien Chopin 0a52cd2031
Merge pull request #2755 from clarkdo/static_prefix
feature: add static.prefix
2018-02-05 08:55:28 +01:00