Commit Graph

36 Commits

Author SHA1 Message Date
achretien
59b106ad04 feat: enable hmr for 'mini-css-extract-plugin' in dev (#4011) 2019-05-17 16:33:23 +08:00
Haoqun Jiang
9c1e797ac6 feat: support dart-sass as default sass implementation (#3321) 2019-01-28 18:51:55 +08:00
金振祖
d5b5e3bfde fix: fix loaderOptions.postcss detection (#3201)
fixes #3194
2019-01-08 11:50:05 +08:00
Haoqun Jiang
b559005ce6 fix: revert postcss-loader order change
The loader used for minification should come first in the rules array
(i.e. execute last, as webpack loaders are executed in reverse order).
2018-09-13 00:10:33 +08:00
Evan You
a2d109508f fix: adjust postcss-loader order when using inline minification 2018-09-11 10:16:58 -04:00
Haoqun Jiang
d0320eb8c2 fix: fix cssnanoOptions format
closes #2395
2018-09-09 23:51:45 +08:00
Evan You
1973e2de2c fix: fix extracted css publicPath for target --lib
close #2260
2018-08-17 10:04:17 -04:00
Evan You
a2c767efc4 fix: minify embedded CSS with extract: false
close #2214
2018-08-15 18:34:55 -04:00
Evan You
1e7fa2cf46 fix: fix css output location for relative baseUrl + more details in docs 2018-08-15 18:34:26 -04:00
Evan You
4220835fa1 fix(css): fix importLoaders which only applies to plain CSS imports
close #2055
2018-08-06 21:51:47 -04:00
Evan You
686ec2591a feat: allow enfoce extract css in development
close #2002

BREAKING CHANGE: setting css.extract to true will now force extraction in development
2018-07-31 11:07:42 -04:00
Vicey Wang
ce7b394560 feat: add filenameHashing option (#1980) 2018-07-30 15:30:30 -04:00
Guillaume Chau
96778b2caf chore: update main deps (#1772)
* chore: update main deps

* chore: update ts types

* chore: update generator deps versions

* fix: ts-jest

* chore: upgrade ts-jest again

* fix: re-generated yarn.lock

* chore: more upgrades

* fix: jest test matching on Windows
2018-07-08 13:56:10 +02:00
Evan You
7d06f09425 feat: allow configuring css-loader options via css.loaderOptions.css
close #1484

BREAKING CHANGE: css.localIdentName has been deprecated. Use
css.loaderOptions.css.localIdentName instead.
2018-06-07 10:10:33 -04:00
Evan You
0ba111eed8 feat: allow configuring postcss-loader via css.loaderOptions.postcss 2018-06-05 00:39:20 -04:00
Evan You
dc382111d9 feat: allow using relative baseUrl 2018-06-05 00:22:20 -04:00
Evan You
f0fd375333 feat: tweak css extraction chunk name 2018-05-28 16:49:28 -04:00
Evan You
1e98d96376 feat: re-introduce css.modules option
BREAKING CHANGE: internal webpack rules for CSS have been changed.
2018-05-28 11:37:10 -04:00
JK
9638d90005 feat(cli-service): add assetsDir option to specify assets root directory (#1322)
close #1311
2018-05-18 16:49:58 -04:00
Yingya Zhang
1037b9c9be feat: support <style lang="postcss"> (#1259) 2018-05-14 18:10:57 -04:00
Evan You
853662c64f fix(css): css-loader importLoaders should account for vue-loader's injected
postStyleLoader.

close #1267
2018-05-11 16:44:14 -04:00
Yingya Zhang
2d09a4c171 fix: css sourceMap in production (#1270) 2018-05-11 12:39:22 -04:00
Evan You
1b5bdde17d fix: css imports from js
BREAKING CHANGE: `css.modules` option has been removed. To import css files (or
any other supported pre-processor files) as CSS Modules, append the request
with a `?module` resourceQuery.
2018-05-10 17:47:53 -04:00
Evan You
2dcdeddde4 feat: upgrade to webpack 4
BREAKING CHANGE: Upgrade wepback 4, all webpack option
modifications must be webpcak 4 compatible. Drop support
for webpack plugins that do not work with v4 or above.
2018-05-08 16:55:13 -04:00
Evan You
f5c0f58673 feat: upgrade to vue-loader 15
BREAKING CHANGE: the "vueLoader" option has been removed. To modify vue-loader
options, use chainWebpack then `config.module.rule(vue).use(vue-loader).tap()`.
vue-loader has been upgraded to v15 and expects different options from v14.
2018-05-04 18:58:11 -04:00
Evan You
8e72943fcf fix: css.extract options handling
close #1061
2018-04-27 12:52:10 -04:00
Nathan Zeplowitz
31cdc8636f feat(css modules): Add CSS Module localIdentName option to vue config (#915)
Changed the vue config to take a user input option for CSS module localIdentName and default back to initial localIdentName ([name]_[local]__[hash:base64:5])
2018-03-01 15:17:15 -05:00
Evan You
fd131060db feat: use more descriptive classNames for CSS modules
close #813
2018-02-12 15:43:49 -05:00
Evan You
7d590d8756 fix: avoid deepmerge on project config 2018-02-02 02:24:05 -05:00
Evan You
1142339cce fix: skip postcss-loader if no postcss config is present 2018-01-26 12:18:17 -05:00
Evan You
6e29daa8fd chore: cleanup comments 2018-01-15 20:21:33 -05:00
Evan You
29d01f54c4 refactor + tests for CSS resolver 2018-01-14 00:32:21 -05:00
Evan You
902f6c0fb3 feat: pwa 2018-01-09 17:45:41 -05:00
Evan You
d0de715813 fix css extraction and pre-processors in vue-loader 2018-01-07 22:15:50 -05:00
Evan You
e9e237e3f4 build & serve 2017-12-29 19:26:15 -05:00
Evan You
cdb0fd0839 restructure 2017-12-29 16:51:25 -05:00