Commit Graph

30 Commits

Author SHA1 Message Date
Clark Du
c77fa479f6 feat(webpack, builder): allow extending loader options (#3799) 2018-09-10 12:57:01 +04:30
Clark Du
128dcbe266 refactor: add build.postcss.preset config 2018-08-15 15:22:26 +01:00
Clark Du
9b060f3be1
feat: upgrade to Babel 7 (#3667) 2018-08-10 14:45:58 +01:00
Alexander Lichter
52d9629bac eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02:00
Clark Du
854e53911d refactor: use default preset for cssnano 2018-08-06 18:42:23 +01:00
Clark Du
e946df1dcf feat: upgrade css-loader to 1.0 2018-08-06 18:42:23 +01:00
Jonas Galvez
3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du
7998516b85
refactor: enable css thread pool (#3598) 2018-07-29 20:02:06 +01:00
Pooya Parsa
8acef8d01e feat: use postcss-preset-env instead of postcss-cssnext (#3291)
https://moox.io/blog/deprecating-cssnext
2018-06-02 01:41:55 +04:30
Sébastien Chopin
cec5d37698 fix: Add style-resources before pre-processor loader 2018-04-11 10:21:30 +02:00
Clark Du
80126228b2 remove temporary fix for html-webpack-plugin
It has been fixed in: vue-loader #8626739c
2018-04-04 16:39:17 +08:00
Clark Du
89bdd71591
refactor: perf-loader and test 2018-04-02 20:08:31 +08:00
Clark Du
855c0eaabe
refactor: temporarily disable css thread pool 2018-04-02 18:22:42 +08:00
Clark Du
df101461e8 Revert "refactor: change ladash-loader to es module"
This reverts commit 90473ce71f.
2018-04-02 18:07:29 +08:00
Clark Du
90473ce71f
refactor: change ladash-loader to es module 2018-04-02 16:42:08 +08:00
Pooya Parsa
c979802c4d perf: use normal require for postcss 2018-04-02 00:13:23 +04:30
Clark Du
84133d91c7
test: perf-loader 2018-03-30 11:10:49 +08:00
Clark Du
c319a8c3d2
refactor(perf-loader): remove unused reference 2018-03-30 09:57:30 +08:00
Pooya Parsa
0dd35fb047 feat: css modules support (#3149) 2018-03-29 23:56:42 +04:30
Clark Du
894a2f31b6
refactor: remove unnecessary if due to templatepath must be html 2018-03-29 15:35:36 +08:00
Clark Du
c4ff71438c
refactor: PerfLoader has been filterd by parallel build enabled 2018-03-29 15:26:04 +08:00
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
62cd611c19 fix: css extraction with MiniCssExtractPlugin 2018-03-24 01:07:59 +04:30
Pooya Parsa
d60438df92 refactor(style-loader): explicit loaders order on apply function 2018-03-23 19:56:24 +04:30
Pooya Parsa
96bfc40672 fix(style-loader): add miniCSSExtractPlugin loader for ssr builds 2018-03-23 19:38:36 +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
Clark Du
d9984f5fd3 refactor: use _ for lodash 2018-03-23 10:06:42 +04:30
Clark Du
67d4d5378b refactor: style loader and postcss config 2018-03-23 10:06:42 +04:30
Pooya Parsa
4c5c7b3bb4 chore: minor webpack fixes 2018-03-22 20:52:41 +04:30
Pooya Parsa
765f560b8c misc: cleanup webpack config 2018-03-22 20:47:24 +04:30