Commit Graph

21 Commits

Author SHA1 Message Date
Pooya Parsa
b69cabef88 hotfix: use terser-webpack-plugin (#3928)
<!--- Provide a general summary of your changes in the title above -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
Webpack requires `uglifyjs-webpack-plugin@1.x`. thus `uglifyjs-webpack-plugin@2.x` may not resolve correctly. Also, the webpack team decided to go with `terser-webpack-plugin` (https://github.com/webpack/webpack/pull/8036).


## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [ ] All new and existing tests passed.
2018-09-20 22:49:43 +01:00
Clark Du
c77fa479f6 feat(webpack, builder): allow extending loader options (#3799) 2018-09-10 12:57:01 +04:30
Alexander Lichter
f87992530e feat(webpack/client): minify extracted css assets (#3857) 2018-09-09 01:18:46 +04:30
Clark Du
8230354d1b feat: webpack refactor (#3747)
* refactor: use more standard entrypoint config

* refactor: fix dev entry name

* refactor: webpack devtool and optimization
2018-08-22 16:24:47 +02:00
Tatsuyuki Ishi
716c04f4e9 Isolate client and server artifacts (#3758) 2018-08-20 18:04:55 +02:00
Clark Du
a3a8c0c9db
refactor: move UglifyJs after extend for getting updated devtool (#3748) 2018-08-16 22:35:38 +01:00
Clark Du
673a38216f refactor: extract customize webpack function (#3745) 2018-08-16 19:14:26 +02:00
Clark Du
b60c4fd432 refactor: add build.quiet config 2018-08-12 14:35:24 +01:00
Clark Du
c4792d247b refactor: options.test from env CI or test 2018-08-10 17:37:20 +01:00
Clark Du
cf06559fa6 refactor: remove unused option ci 2018-08-10 17:12:33 +01:00
Clark Du
9b060f3be1
feat: upgrade to Babel 7 (#3667) 2018-08-10 14:45:58 +01:00
Dmitry Molotkov
5280e86dfc generate source map for uglify if devtool === #source-map (#3451)
* generate source map for uglify if devtool === #source-map

* support different variants of source-map option

* change source map to be likes in official webpack repo
https://github.com/webpack/webpack/blob/master/lib/WebpackOptionsDefaulter.js#L294

* small code cleanup
2018-07-24 13:01:51 +02:00
Clark Du
9afd6a55dd
refactor: obselete AggressiveSplittingPlugin 2018-07-17 12:13:06 +01:00
yoyo837
b4d74b417c minify: true => fix gap between inline-block labels 2018-05-30 10:57:03 +08:00
Pooya Parsa
238480c322 fix: commons group working with windows 2018-04-13 01:01:26 +04:30
Clark Du
952dfe0d4f fix: multiStep broke html-webpack-plugin 2018-04-11 22:54:01 +08:00
Clark Du
c393f2881d
fix: webpackHotUpdate is not defined in HMR 2018-04-11 22:35:20 +08: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
Pooya Parsa
e7cfca3326 fix typo for setimmediate 2018-04-02 11:29:09 +04:30
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