Alexander Lichter
cb18aa6f53
feat: add Vue.config configuration to nuxt.config.js ( #3655 )
...
After #3564 and the request of #3427 (plus #3452 ) I decided to add a dedicated `vueConfig`object to the `nuxt.config.js` file.
The keys will be projected on Vue.config.
By default, `Vue.config.performance` is enabled in dev mode, `Vue.config.silent` is enabled in production mode.
Doc PR incoming.
Resolves : #2910 , #3427
2018-08-08 20:05:23 +01:00
Clark Du
56db988f27
feat: exclude build.transpile in server node externals ( #3614 )
2018-07-31 15:10:24 +02:00
Alexander Lichter
8c85f2299e
feat(csp): add reportOnly option ( #3559 )
2018-07-30 18:04:02 +02:00
Alexander Lichter
095404a251
refactor: change function calls when arity is one ( #3563 )
2018-07-20 16:42:31 +01:00
Clark Du
d98c98360a
refactor: smiplify csp
2018-07-01 23:43:30 +04:30
Clark Du
749da85b90
misc: remove unused cache config ( #3490 )
2018-07-01 23:40:44 +04:30
Clark Du
13ae634c74
refactor: simplify build.transpile
2018-05-06 20:48:19 +01:00
Pooya Parsa
a8cbbf03ce
always enable resourceHints
2018-05-02 14:29:55 +04:30
Sébastien Chopin
0df0b8bebc
fix: When render.scp is true, add csp.enabled to true
2018-04-13 11:08:36 +02:00
Clark Du
20010a6f47
misc: add warn for vendor
2018-04-13 14:50:39 +08:00
Ricardo Gobbo de Souza
320d1ba283
chore(options): vendor backward compability with nuxt 1.x ( #3218 )
2018-04-13 01:12:50 +04:30
Clark Du
e2e124b8e4
refactor: enable babel.cache in dev by default
2018-04-02 20:01:17 +08:00
Pooya Parsa
59ff0df052
feat: use consola for logging
2018-03-31 20:52:14 +04:30
Clark Du
ed321f52c1
refactor: stats none is same as false
2018-03-29 15:11:34 +08:00
Pooya Parsa
428a37acb0
improve prod chunk splitting
2018-03-28 11:13:07 +04:30
Clark Du
ef7a42649d
misc: improve coverage and packaging ( #3121 )
...
nuxt-start and nuxt/legacy are also coming!
2018-03-28 02:58:17 +04: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
53e98a958c
feat: rewrite core to esm
2018-03-16 19:42:06 +03:30
Clark Du
73d35b9933
refactor: remove options.uglify due to use webpack built-in minimizer
2018-03-15 15:09:39 +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
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
NicoPennec
fdc07a319d
perf: chunks size limit
2018-01-25 09:01:48 +01:00
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