Commit Graph

233 Commits

Author SHA1 Message Date
Dmitry Molotkov
87f1f312be ignore *.spec.* test files (#3528)
Add ignore for *.spec.* files in addition to *.test.*

PS the error that can happen when try to run dev without ignore and with spec js is totally  confusing and gives zero lead on what happens.
https://gist.github.com/aldarund/8542b2e477956827d9195d0f6d173a3b
Only during build there was a error printed with a proper stacktrace that was lead to my test file
2018-07-21 17:33:41 +01:00
Alexander Lichter
095404a251 refactor: change function calls when arity is one (#3563) 2018-07-20 16:42:31 +01:00
Clark Du
e2296061b0
misc: fix typos 2018-07-18 15:39:48 +01:00
Clark Du
9afd6a55dd
refactor: obselete AggressiveSplittingPlugin 2018-07-17 12:13:06 +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
93696eb60b
Revert "test: bring cli test back" 2018-05-16 08:10:20 +01:00
Clark Du
7bbd6c67a5
test: for waitUntil 2018-05-15 13:10:07 +01:00
Clark Du
e962ee19e7
test: bring cli test back 2018-05-15 12:45:09 +01:00
Sébastien Chopin
3a76475ace
Merge pull request #3341 from clarkdo/babel_whitelisting
feat: make babel-loader exclude configurable
2018-05-14 09:50:24 +02:00
Hannes Diercks
c017da10f6
fix(lib): ensure webpack inline loaders stay prefixed
when making a component path relative

fix https://github.com/nuxt/nuxt.js/issues/3314
2018-05-11 21:02:28 +02:00
Clark Du
13ae634c74
refactor: simplify build.transpile 2018-05-06 20:48:19 +01:00
Clark Du
8b0c2f1a67
feat: add build.transpile to transpile npm packages 2018-05-06 19:46:02 +01:00
Clark Du
021ba5a1e2 feat: make babel-loader exclude configurable 2018-05-06 19:20:40 +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
Pooya Parsa
e4ee624011 feat: improve esm handling
disables esm for nuxt modules
2018-04-05 13:08:54 +04:30
Clark Du
e2e124b8e4 refactor: enable babel.cache in dev by default 2018-04-02 20:01:17 +08:00
Clark Du
bc407cdbce
refactor: enable babel.cacheDirectory when dev&&build.cache by default 2018-04-02 16:14:15 +08:00
Pooya Parsa
f12b26ed8d perf: enable babel cacheDirectory by default 2018-04-01 00:53:47 +04:30
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
7f6b7d8588 feat: mini-css-extract-plugin 0.3.0 and [contenthash] 2018-03-28 23:04:38 +04:30
Pooya Parsa
428a37acb0 improve prod chunk splitting 2018-03-28 11:13:07 +04:30
Pooya Parsa
c37992f4c6 set automaticNameDelimiter to something better 2018-03-28 10:27:46 +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
Clark Du
df159fe953
comment: change todo info 2018-03-27 10:08:03 +08:00
Pooya Parsa
8b4fbac10b feat: guess best values for loadingIndicator by other options 2018-03-25 23:40:39 +04:30
Pooya Parsa
a56c208f9b feat: new default loading indicators 2018-03-25 23:05:13 +04:30
Pooya Parsa
3859ad6e15 fix(vue-loader): enable minimize for production builds
awaiting for vuejs/vue-loader#1208
2018-03-23 22:02:47 +04:30
Pooya Parsa
d7956d5fd4 fix(cli): fallback to minimalCLI if TTY is not available 2018-03-23 20:14:37 +04:30
Clark Du
b70ff8710f fix: build fixtures show logs and exit process when error occurred 2018-03-23 13:53:37 +04:30
Pooya Parsa
992f18afab misc: better build error handling 2018-03-23 13:03:04 +04:30
Pooya Parsa
00ef16d6dd perf(builder): improve production build 2018-03-23 12:44:58 +04:30
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