Commit Graph

84 Commits

Author SHA1 Message Date
Clark Du
99d7177d90 feat(build): add build.includeConfig to embed nuxt.config in dist after building (#2313)
* feat(build): add build.includeConfig to embed nuxt.config in dist after building

* refactor: remove build.includeConfig and Options.safeKeys
2017-12-04 23:22:50 +03:30
Clark Du
5ece7127c5
fix: invalid all require.cache in watching 2017-12-04 17:59:37 +08:00
Clark Du
b9268df91b fix(dev-watching): mixins not removed after function changed or deleted 2017-11-30 09:55:20 +03:30
Pooya Parsa
79ce2ebc5d
chore: improve tests coverage 2017-11-24 19:14:07 +03:30
Clark Du
7a301bed6c refactor: prevent wrapper Promise 2017-11-24 11:53:56 +03:30
Clark Du
c15543cb83 refactor: make unwatch async 2017-11-24 11:53:56 +03:30
Clark Du
30714c989a refactor: change settimeout to waitFor (#2220) 2017-11-24 11:39:45 +03:30
Sébastien Chopin
959cbb613a
Merge branch 'dev' into nuxt-dev-fix-double-compile 2017-11-23 12:50:28 +01:00
pimlie
6d8c96bc82 Fix eslint issue in builder.js 2017-11-23 12:01:38 +01:00
Dmitri Efimenko
6022c5d561 Prevent double compile on nuxt.config.js update 2017-11-22 15:57:39 +03:00
Dmitriy
4c808c90ab fix memory leak on restart nuxt-dev (#2190) 2017-11-22 13:21:07 +03:30
Clark Du
377416a7ef refactor: eslint adjustments 2017-11-19 17:18:02 +03:30
Atinux
6dfe660412 fix: Implement TimeFixPlugin by @egoist to avoid webpack rebuilds 2017-11-07 11:47:55 +01:00
Pooya Parsa
1eee113d6d chore(builder): better naming for plugin generated aliases
Help developers tracing exact source of warns/errors
2017-11-07 13:32:10 +03:30
Pooya Parsa
80fb65040b fix(builder): add hash to generated plugin names
A plugin named `bootstrap` results importing bootstrap jquery!
2017-11-07 13:17:50 +03:30
Pooya Parsa
f626acf1f9 refactor: simplify internal compilers 2017-11-07 13:16:29 +03:30
Atinux
aa342330d7 fix: Fix PostCSS plugin resolution when used in nuxt.config.js 2017-11-03 12:32:57 +01:00
Atinux
8318ce7510 fix: loadResources after every build 2017-10-31 18:33:25 +01:00
Sébastien Chopin
94ad5955e6 Hooks ready to be tested 2017-10-30 22:39:08 +01:00
Atinux
6648695015 refacto: Hooks 2017-10-30 18:41:22 +01:00
Atinux
379d4f72d4 refacto: Refacto nuxt.build() to finish after webpack is done 2017-10-30 15:46:06 +01:00
Sébastien Chopin
41b775a365 patch: Use last version of UglifyES and add IE9 preset 2017-10-28 18:12:21 +02:00
Sébastien Chopin
b3a1844f6f Merge branch 'dev' into refacto-app 2017-10-28 10:21:47 +02:00
John Fischer
5d3156c0c7 Catch cryptic error when a plugin is not found 2017-10-27 13:19:42 +03:30
Sébastien Chopin
5b09b92286 Refactor to use only one context and add route.meta 2017-10-20 10:52:07 +02:00
Sébastien Chopin
dd7d8bbafc dev: Improve template debugging in development 2017-10-20 10:52:07 +02:00
FieryCod
0b46b06c7c Adds support for folders in /layouts 2017-10-15 21:31:01 +02:00
Sébastien Chopin
dcf35933c0 Merge pull request #1620 from homerjam/layout-transitions
add layout transitions
2017-09-12 13:36:52 +02:00
Pooya Parsa
19a943d44c fix: increase webpack dev timeouts 2017-09-12 01:05:09 +04:30
James Homer
e937937ea1 add layout transitions 2017-09-09 12:19:52 +01:00
Clark Du
afc756f694 move up error print becuse it never be called
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:15:29 +08:00
Pooya Parsa
0d4bbf0b03 allow customize all messages for i18n 2017-09-01 21:00:49 +04:30
Pooya Parsa
1ca5739a2f add router base to all middleware 2017-08-25 16:31:16 +04:30
Wu Haotian
e59b3dd4f7
Don't set babelOptions.presets if babelrc = true 2017-08-25 17:36:53 +08:00
Sébastien Chopin
7738d0c0af Merge pull request #1447 from Zip753/improve-nuxt-config-interface
Improve nuxt.config.js and Nuxt modules API
2017-08-24 15:49:10 +02:00
Sebastien Chopin
fb25c982a7 feature: Add no-ssr component 2017-08-24 12:38:46 +02:00
Ivan Nikulin
37abaa0e80
Refactor extendRoutes for Tapable plugins 2017-08-23 08:49:24 +02:00
Ivan Nikulin
635ee580e9
Change router.extendRoutes hook to return new router config 2017-08-23 00:50:45 +02:00
Sebastien Chopin
88f98fb61d Don't call extend for server if spa mode 2017-08-22 13:56:22 +02:00
Pooya Parsa
0795d40bb7 fix problems with dll 2017-08-22 00:10:06 +04:30
Pooya Parsa
7973d67f5b fix problems with common chunk 2017-08-21 23:43:08 +04:30
Pooya Parsa
d7fbe47c31 feat: experimental dll support
`.cache/` should be git ignored in projects.
disabled by default. Can be enabled using `options.build.dll: true`
2017-08-21 15:46:35 +04:30
Pooya Parsa
690cfe2114 improve spa errors 2017-08-20 17:43:42 +04:30
Sebastien Chopin
e709fa4bff Warning if loadingIndicator not found 2017-08-18 14:23:10 +02:00
Pooya Parsa
136f066556 loadingIndicator support for SPA 2017-08-18 14:56:19 +04:30
Pooya Parsa
d6cb2cbc79 improve CommonsChunkPlugin
inspired by zeit next
2017-08-18 11:47:56 +04:30
Pooya Parsa
005d967993 refactor 2017-08-17 22:32:22 +04:30
Pooya Parsa
1cc2c6b5b0 wChunk 2017-08-17 21:48:56 +04:30
Sebastien Chopin
e3eb83d669 Fix lint 2017-08-17 15:13:56 +02:00
Sebastien Chopin
c1d2d4c626 Rename process.generate to process.static 2017-08-17 14:50:39 +02:00