Pooya Parsa
f2fa8c8dd8
fix eslint
2018-03-23 12:06:29 +04:30
Pooya Parsa
ac79cf3282
perf: improve build speed
...
In practice, both thread-loader and cache (uglify, babel, cache-loader) slow down process up to 10sec with their overhead so disabled by default.
2018-03-23 12:05:04 +04:30
Pooya Parsa
88bab354b0
perf(builder): experimental thread-loader and cache-loader
2018-03-23 01:51:17 +04:30
Pooya Parsa
417e0bff40
misc(cli): improve loader
2018-03-22 23:59:05 +04:30
Pooya Parsa
de847a7cd0
remove webpack-stylish
...
more compact results and prevent duplicate warning and errors
2018-03-22 20:30:23 +04:30
Clark Du
d35c00d729
feat: vue-loader next migration
2018-03-22 20:30:23 +04:30
Clark Du
8beb1b3525
refactor: disable extractCSS in dev due to plugin not supports HMR
2018-03-21 21:36:52 +08:00
Clark Du
d828cbd04c
feat: migrate to mini-css-extract-plugin
2018-03-21 15:37:34 +03:30
Sébastien Chopin
702a6085d0
Merge pull request #2990 from David-Mueller/dev
...
fix: support snake case page names
2018-03-21 11:50:39 +01:00
Pooya Parsa
4b26c68c3b
perf: chunk splitting improvements
2018-03-21 13:33:57 +03:30
Pooya Parsa
65349b7335
disable build logs for test environments
2018-03-21 10:08:38 +03:30
Pooya Parsa
7e91ae1d13
fix: add options.production to disable minimalCLI for local builds
2018-03-21 09:59:18 +03:30
Pooya Parsa
f2e26b3c04
feat: options.minimalCLI
2018-03-21 09:50:14 +03:30
Pooya Parsa
eda1f1d1c2
fix typo
2018-03-21 01:50:22 +03:30
Pooya Parsa
13d17d241e
feat: minimal logger for CI/Test environments
2018-03-21 01:41:30 +03:30
Pooya Parsa
c3ae6cd373
misc: disable resourceHints for dev if not specified
2018-03-20 14:06:06 +03:30
Pooya Parsa
342d9a8bf6
perf(spa): disable loadingIndicator by default
2018-03-20 12:43:36 +03:30
Pooya Parsa
18f80676f7
misc: set shouldPrefetch false by default
2018-03-20 11:55:46 +03:30
Pooya Parsa
0b2025e117
misc: disable splitChunks for layouts by default
2018-03-20 11:47:16 +03:30
Pooya Parsa
0ce8d88f38
feat: make optimization and splitChunks configurable
2018-03-19 22:10:33 +03:30
David Müller
051be92ea5
fix: snake case route names
2018-03-19 19:33:37 +01:00
David Müller
751aae38d4
fix: dynamic routes must start with an underscore
...
Folders or files within `pages/` should only lead to dynamic routes, if they start with an underscore.
Previously, folders like `some_folder` would lead to a route parameter `folder` being introduced.
2018-03-19 19:32:54 +01:00
Pooya Parsa
984788362a
fix(renderer): setAnsiColors is not a function
2018-03-19 19:56:56 +03:30
Pooya Parsa
e59152c550
fix(utils): use typeof for function check
2018-03-19 02:44:27 +03:30
Pooya Parsa
1ee08ad101
hide fancy errors during test
2018-03-18 12:21:56 +03:30
Pooya Parsa
84487ef108
update filenames
2018-03-17 14:01:47 +03:30
Pooya Parsa
5d0deefa6a
fix: handle string errors
2018-03-16 23:48:19 +03:30
Pooya Parsa
3f83921c71
add mjs to supported extensions
2018-03-16 23:34:54 +03:30
Pooya Parsa
ed5bfacb4d
eslint: fix import/order
2018-03-16 23:22:17 +03:30
Pooya Parsa
6234ae84c0
refactor(core): use strict mjs
2018-03-16 22:41:24 +03:30
Pooya Parsa
ec616f109b
refactor options
2018-03-16 20:53:15 +03:30
Pooya Parsa
f20ad95b2b
remove pretty-error
...
https://github.com/standard-things/esm/wiki/improved-errors
2018-03-16 20:32:56 +03:30
Pooya Parsa
53e98a958c
feat: rewrite core to esm
2018-03-16 19:42:06 +03:30
Pooya Parsa
f2b3e780e0
improve spinner
2018-03-16 09:56:23 +03:30
Clark Du
73d35b9933
refactor: remove options.uglify due to use webpack built-in minimizer
2018-03-15 15:09:39 +08:00
Clark Du
7bc3ac501b
refactor: add timeout in renderAndGetWindow
2018-03-14 16:18:40 +08:00
Pooya Parsa
86d0031ae6
feat: splitPages
2018-03-13 18:06:49 +03:30
Clark Du
2a931cbad6
refactor: remove vendor
2018-03-13 09:46:37 +08:00
Clark Du
365a6adc35
refactor: change splitChunks file name to vendor.hash.js
2018-03-12 10:32:43 +08:00
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
Clark Du
f9d2bce5af
refactor: move babel defaults value to Options.defaults
2018-03-09 14:30:50 +08:00
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
Libor Vaněk
d7b1dd53ac
Include Vuex only when store is not empty
2018-02-27 23:08:19 +02:00
Hana Shiro
0a823252ae
fix file permission in lib
and test
( #2883 )
2018-02-27 00:18:36 +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
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
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
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
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
dojineko
4fb644fdb3
add csp.policies
2018-02-01 21:20:28 +09: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
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
5f50d402d5
Merge pull request #2673 from clarkdo/static_route
...
refactor: resolve exact route prior to index
2018-01-26 10:43:05 +01:00
NicoPennec
fdc07a319d
perf: chunks size limit
2018-01-25 09:01:48 +01:00
Clark Du
82c4c7ea1a
refactor: resolve exact route prior to index
2018-01-23 15:20:56 +08:00
LoneRifle
c1b30acbb3
fix: remove unnecessary async from waitFor
utility ( #2654 )
2018-01-21 13:49:20 +03:30
Pooya Parsa
95c85bba62
minor improvements for #2608
2018-01-16 18:41:17 +03:30
Kouki Narumi
5ebf60f2a1
feat: external script support for CSP ( #2608 )
2018-01-16 18:40:10 +03:30
Clark Du
570bf1a5d5
refactor: change entry filename to be dynamic
2018-01-16 14:55:35 +08:00
Sébastien Chopin
de02ea4b5d
app: Better external url redirect handling
2018-01-15 12:22:57 +01:00
Pooya Parsa
347fa3e9fd
feat: add options.ignore support
2018-01-15 13:14:44 +03:30
Pooya Parsa
29110694fb
use console.warn for warnings
2018-01-13 08:59:47 +03:30
Pooya Parsa
10d1b5974c
style: format with prettier
2018-01-13 08:52:11 +03:30
Pooya Parsa
0cb0beb1c5
err styling
2018-01-11 22:46:26 +03:30
Pooya Parsa
118d3fb8c2
imrpove nuxt-generate error report summary
2018-01-11 21:50:35 +03:30
Pooya Parsa
13166bcf78
misc: improve CLI errors
2018-01-11 19:41:50 +03:30
Pooya Parsa
cef64cdbad
improve error handling
2018-01-11 18:43:52 +03:30
Pooya Parsa
771945c789
use pretty error handler
2018-01-11 17:41:49 +03:30
Pooya Parsa
421070d385
fix: prioritize nested node_modules. fixes #2558 .
2018-01-11 15:23:55 +03:30
Sébastien Chopin
063448fe2a
Lint
2018-01-10 17:36:32 +01:00
Sébastien Chopin
9a3bfdc998
Fix cannot ready property csp of undefined
2018-01-10 17:31:27 +01:00
Samuel Horwitz
6e9be715b2
Adding support for Content-Security-Policy script-src safe inline, for SSR state transfer
2018-01-10 01:36:34 -05:00
Pooya Parsa
496869045b
temporary disable build.config.js
2018-01-08 18:41:03 +03:30
Sébastien Chopin
eceb92502b
minor: Improve styleResources to handle multiple pre-provcessors
2018-01-08 10:41:30 +01:00
Pooya Parsa
4e24ec7eba
feat: use launch-editor for open-in-editor functionality
2018-01-06 23:27:34 +03:30
Sébastien Chopin
179b1a7bc1
Merge branch 'dev' into dev
2018-01-05 13:18:11 +01:00
Pooya Parsa
452747b3c4
perf,fix: source map improvements
2018-01-05 03:04:20 +03:30
Pooya Parsa
87ac7d0cb4
revert: don't prepend js/ to chunk file names
...
It makes some problems with source mappings
2018-01-05 02:57:13 +03:30
Pooya Parsa
aef2199402
perf: use non weak etags as default
...
Calculation is always the same. This helps browsers caching responses for a longer term
2018-01-05 01:43:59 +03:30
Pooya Parsa
42807fcdf9
perf: Use getPreloadFiles for HTTP2 push headers
2018-01-05 01:40:52 +03:30
Sébastien Chopin
5b923fd97e
feat: Add extensions option to add more language support
2018-01-04 18:10:17 +01:00
Clark Du
a74f206189
fix: remove require.cache deletion
2018-01-04 23:54:01 +08:00
Pooya Parsa
61232a61e6
fix: avoid pretty-error mutating traces
2017-12-29 15:16:31 +03:30
Pooya Parsa
d243ad13e1
improve dist chunks structure
...
Moving all js assets into _nuxt/js and css assets into _nuxt/css
2017-12-29 13:15:21 +03:30
Pooya Parsa
2656529771
fix: prioritize nuxtDir in modulesDir
2017-12-28 20:19:56 +03:30
Pooya Parsa
ef5b910112
refactor postcssConfig
2017-12-28 19:35:34 +03:30
Sebastien Lacoste
45c15a96c4
Add ignorePrefix option to ignore files
2017-12-18 16:53:36 +01:00
Clark Du
c55df07968
chore: upgrade loader ( #2415 )
2017-12-18 13:29:16 +03:30
Pim
c92d427bb0
Feat: add possiblity to mute webpack in non-dev modes ( #2411 )
...
Move webpackStats to nuxt.options
Only clearConsole when we expect webpack to output stats
2017-12-17 17:29:50 +03:30