Commit Graph

131 Commits

Author SHA1 Message Date
Pooya Parsa
10d1b5974c style: format with prettier 2018-01-13 08:52:11 +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
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
Pooya Parsa
4f55aadd1e fix: temporary disable build.config hydration 2017-12-13 05:47:44 +03:30
Pooya Parsa
49b43c4be3 improve modulesDir 2017-12-13 04:39:38 +03:30
Pooya Parsa
a4e2a7cd65 always add nuxt to modulesDir 2017-12-12 16:27:01 +03:30
Pooya Parsa
adb5966ed2 improve progressbar experience 2017-12-12 15:16:19 +03:30
Pooya Parsa
9b8cbed512 perf: remove rollup build
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
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
97eaa1b671
fix: redirect to vue route when path is relative 2017-11-28 22:05:05 +08:00
Ralph Huwiler
b31b0f250c fixed modulesDir is not initialized with correct default value (#2258) 2017-11-27 20:30:23 +03:30
Pooya Parsa
79ce2ebc5d
chore: improve tests coverage 2017-11-24 19:14:07 +03:30
Pooya Parsa
2996160151
perf: improve uglify plugin options 2017-11-24 19:02:05 +03:30
Pooya Parsa
259f26bd4f
refactors for modulesDir as array 2017-11-24 13:10:01 +03:30
Clark Du
f27ddea7d5 feat: modulesDir supports array form 2017-11-24 17:19:50 +08:00
Dmitriy
967a442d5e resolve extra modules if nuxt linked (#2212) 2017-11-24 11:50:00 +03:30
Sébastien Chopin
2c2ee63dd1
Merge pull request #2032 from Gomah/dev
feat: add subFolders option for generate
2017-11-16 16:16:22 +01:00
Sébastien Chopin
6ef631dee0
Merge pull request #2127 from clarkdo/fix_split_error
refactor: fix [TypeError: Cannot read property split of undefined] in tests
2017-11-16 12:21:37 +01:00
Clark Du
2228bf4209
refactor: fix [TypeError: Cannot read property split of undefined] in tests 2017-11-16 18:56:41 +08:00
Sébastien Chopin
de2b0a6d56
Merge pull request #2100 from clarkdo/route_parseQuery
feat: add parseQuery and stringifyQuery for router
2017-11-14 10:38:44 +01:00
Clark Du
8eb519b16b
feat: add parseQuery and stringifyQuery for router 2017-11-14 11:06:06 +08:00
Pooya Parsa
e5017c5e2a perf: better vendor chunk
Also disables commons chunk plugin on dev environments for faster builds
2017-11-07 15:35:41 +03:30
Atinux
f5fa44d8aa debug: Show PostCSS config only when used 2017-11-06 18:30:50 +01:00
Gomah
59ad478037 Add subFolders option for generate 2017-11-06 18:36:28 +11:00
Atinux
e97bb1d099 fix: Handle middleware fn in nuxt.config.js 2017-11-03 17:24:20 +01:00
Atinux
c17cb24aaa fix: generate.minify.collapseWhitespace is false by default 2017-11-03 16:00:09 +01:00
Atinux
ac3b3f27a7 debug: Show what PostCSS configuration is used 2017-11-03 12:32:57 +01:00
Atinux
7137f848a2 hooks: Handle hooks as object 2017-10-31 12:33:15 +01:00
Sébastien Chopin
94ad5955e6 Hooks ready to be tested 2017-10-30 22:39:08 +01:00
Zhang Chengrong
cf693d04a3 Fix auto load postcss.config.js problem 2017-10-13 11:48:36 +03:30
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
b41fcbc789 feat: open in editor 2017-09-10 00:52:07 +04:30
James Homer
e937937ea1 add layout transitions 2017-09-09 12:19:52 +01:00
Pooya Parsa
c6c653e68c typo 2017-09-03 00:33:48 +04:30
Pooya Parsa
a5e429830d padding 2017-09-01 21:10:01 +04:30
Pooya Parsa
0d4bbf0b03 allow customize all messages for i18n 2017-09-01 21:00:49 +04:30
Pooya Parsa
2e11827209 spa loading defaults
more design agnostic for general usage
2017-09-01 20:46:08 +04:30
Sebastien Chopin
f65b2b80e1 Add rtl option to loading 2017-08-29 13:58:45 +02:00
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
086a642332 fix cssSourceMap 2017-08-20 13:08:38 +04:30
Pooya Parsa
a289a55a72 simplify modes 2017-08-19 17:52:53 +04:30
Pooya Parsa
278180b4fe Disable cssSourceMap for production by default
Prevents build environment path leaks and reduce js files size (as vue-loader inlines some parts)
2017-08-19 16:40:55 +04:30
Sebastien Chopin
b83f897339 Set default appear class 2017-08-18 16:47:01 +02:00
Sebastien Chopin
6461bcc9cb Add appear transition on spa mode 2017-08-18 15:44:34 +02:00
Sebastien Chopin
c628097862 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-08-18 15:16:36 +02:00
Pooya Parsa
d589bc5819 static ~> ssr-only 2017-08-18 17:16:03 +04:30
Sebastien Chopin
06a3d65ebf Use Nuxt.js color by default 2017-08-18 14:22:54 +02:00
Pooya Parsa
38f9c21f21 fix loadingIndicator default value 2017-08-18 14:59:37 +04:30
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
a721232173 adjust postcss-import options for nuxt
#1407
2017-08-18 01:16:32 +04:30
Pooya Parsa
e510136a5a improve webpack chunk namings 2017-08-16 15:06:27 +04:30
Hana Shiro
db19b50a02 internals: improve options module (#1392) 2017-08-16 12:10:10 +04:30
Menthol
9db110002a feat: use [contenthash] for extracted css (#1390)
Chunkhash do not work with css content.
2017-08-16 11:54:59 +04:30
Pooya Parsa
f0ef41962d postcss-loader improvements 2017-08-15 05:37:21 +04:30
Pooya Parsa
c9def711fa support postcss.config.js 2017-08-15 01:43:08 +04:30
Pooya Parsa
5d2429459a working postcss everywhere 2017-08-14 18:34:02 +04:30
Sébastien Chopin
533c8a9fb6 Don't sort class name by default
Fix issue with Semantic UI (#1331)
2017-08-13 21:12:35 +02:00
Pooya Parsa
1c527c2db6 render.debug ~> debug
debug on build phase affects generated templates too
2017-08-06 02:18:43 +04:30
Pooya Parsa
1f4dfa5f44 feat: build.autoprefixer option
allows enable/disable or customize autoprefixer

closes #1296
2017-08-05 12:37:33 +04:30
Pooya Parsa
67bd208c73 better SSR error pages
full stack trace and source maps support
2017-08-05 05:28:26 +04:30
Clark Du
f22c16a7a4 feat(nuxt.config.js): support chunkFileName in config 2017-08-01 20:15:02 +04:30
Pooya Parsa
92b6936811 feat: modulesDir option
fixes problems with npx and linked libraries #1076
2017-08-01 02:54:10 +04:30
Pooya Parsa
be4d8c5e13 internal refactors 2017-07-30 16:50:58 +04:30