Skip to content

Commit 87d4811

Browse files
committed
chore: fix demo, update version and changelog
1 parent d082883 commit 87d4811

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.5.5
2+
3+
* Removed the custom element registration enhancement for strict CSP builds so that they won't contain `new Function`.
4+
15
## 6.5.4
26

37
* Cleaned up the `console.log` call sneaked in by mistake.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-echarts",
3-
"version": "6.5.4",
3+
"version": "6.5.5",
44
"description": "Vue.js component for Apache ECharts.",
55
"author": "GU Yiling <[email protected]>",
66
"scripts": {

vue.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ module.exports = {
2121
.test(/\.svg$/)
2222
.use("raw-loader")
2323
.loader("raw-loader");
24+
25+
config.plugin("define").tap(([options]) => [
26+
{
27+
...options,
28+
__CSP__: "false"
29+
}
30+
]);
2431
},
2532
devServer: {
2633
allowedHosts: "all"

0 commit comments

Comments
 (0)