Commit Graph

9 Commits

Author SHA1 Message Date
Haoqun Jiang
38efc032e5 feat: add --no-unsafe-inline flag for modern mode (#2741)
closes #2570
2018-10-29 19:14:11 +08:00
Evan You
7b39bed188 refactor: use better modern mode and cors implementation
BREAKING CHANGE: The `corsUseCredentials` option has been replaced by the new
`crossorigin` option.
2018-08-08 23:31:13 -04:00
Evan You
30215c2819 feat: add corsUseCredentials option
This allows the user to configure which CORS strategy to use
for <script type=module> in modern mode.

close #1867
2018-07-23 13:04:48 -04:00
Neil Parley
d3d827c4f8 fix(build): modern plugin when building multi page applications with output in sub directories (#1866) 2018-07-16 14:53:30 +02:00
snadn
b1331ee08d fix: when script has no attributes (#1628)
when use webpack `htmlWebpackIncludeAssetsPlugin` include script. the script has no attributes, and build throw error.
2018-07-11 13:22:11 +02:00
Roc Wang
78174dc5e8 fix(modern): fix the failure of modern build when the output HTML filename contain subdirectories
fix https://github.com/vuejs/vue-cli/issues/1791
2018-07-11 01:22:27 +02:00
Adrian B. Danieli
e2a7063c9f fix(modern): send credentials when loading script modules. (#1695)
* Send credentials when loading script modules.

Otherwise, things like BasicAuth won't work.

* fix: updated modern mode tests.

* fix: updated crossorigin comment.

* fix: typo
2018-06-29 00:35:10 +02:00
Evan You
2b55576728 test: test for modernMode 2018-06-13 13:17:46 -04:00
Evan You
204d8f07de feat: modern mode 2018-06-12 23:51:19 -04:00