Commit Graph

1139 Commits

Author SHA1 Message Date
Pooya Parsa a65db22701 builder: add devMiddleware watching into this.compilersWatching 2018-02-27 16:37:05 +03:30
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
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
Clark Du e60a8e7463 refactor: add true as default value of static.prefix 2018-02-05 09:57:10 +08:00
Clark Du 215832769e refactor: add context as third param of render:route hook 2018-02-04 17:57:51 +03:30
Clark Du 28d28cb8c1 feature: pass request to render:route hook 2018-02-04 17:57:51 +03:30
Ricardo Gobbo de Souza 7786451064 feat: custom store directory 2018-02-04 07:31:03 -02:00
Ricardo Gobbo de Souza 856c1bf83c feat: custom middleware directory 2018-02-03 21:24:45 -02:00
Ricardo Gobbo de Souza b3f2a67793 feat: custom layouts directory 2018-02-03 16:41:43 -02:00
Clark Du a81af22d41
feature: add static.prefix 2018-02-04 00:54:42 +08:00
Ricardo Gobbo de Souza 536aab6380 Moved options to a new `dir` block: 2018-02-03 14:04:15 -02:00
Ricardo Gobbo de Souza 483cd9ea29 feat: custom static directory 2018-02-03 09:54:16 -02:00
Ricardo Gobbo de Souza fb29df43fd feat: custom assets directory 2018-02-03 09:10:06 -02:00
Ricardo Gobbo de Souza 225021571a fix: createRoutes 2018-02-02 15:15:57 -02:00
Ricardo Gobbo de Souza 10ac3ed2b4 feat: custom pages directory 2018-02-02 14:58:51 -02:00
Peter Pan 13b74b8f36 fix #2741: add staging environment via NODE_ENV 2018-02-02 11:16:17 +08:00
dojineko a403205abe tiny fix 2018-02-02 11:18:23 +09:00
dojineko 4fb644fdb3 add csp.policies 2018-02-01 21:20:28 +09:00
Sébastien Chopin 358e2f32fd minor: Improve scrollBehavior to work with transitions, resolve #1376, thanks to @homerjam 2018-01-31 16:13:28 +01:00
Sébastien Chopin 7d960b03f7
Merge pull request #2698 from jeroenvisser101/spa-fallback
Add SPA fallback template
2018-01-30 10:17:01 +01:00
Jeroen Visser f0784ad7fc
Add SPA fallback template 2018-01-30 00:30:26 +01:00
Clark Du f15eb9efa7
test: spa meta preload files 2018-01-29 11:59:05 +08:00
Clark Du 4907e81574
test: resolvePath throws error 2018-01-29 11:41:56 +08:00
Clark Du a2ac4cb331
test: user istanbul ignore next due to nyc issue 2018-01-29 11:01:37 +08:00
Clark Du 6e2b37a7c6
test: csp, maxChunkSize and ignore generateConfig 2018-01-27 23:48:42 +08:00
Diederik van den Burger 7bea248fe4 feat: added errorMiddleware hook. (#2703) 2018-01-27 18:42:30 +03:30
Arsen Stahanov 9981df71fc Support autoimport of '.jsx' files 2018-01-26 15:37:00 +02:00
Sébastien Chopin 6d71770bf4
Merge pull request #2687 from NicoPennec/dev
feat: optional build option to limit chunks size
2018-01-26 12:21:47 +01:00
Sébastien Chopin 1ab4be456f fix: Handle redirect in middleware, fix #542 and #2665 2018-01-26 12:16:53 +01:00
Sébastien Chopin 5f50d402d5
Merge pull request #2673 from clarkdo/static_route
refactor: resolve exact route prior to index
2018-01-26 10:43:05 +01:00
Sébastien Chopin 6425fb30a5
Merge pull request #2679 from clarkdo/multiple_components
fix: multiple components in one route
2018-01-25 11:47:14 +01:00
NicoPennec fdc07a319d perf: chunks size limit 2018-01-25 09:01:48 +01:00