chore: fix demo, update version and changelog

This commit is contained in:
Justineo
2023-04-24 13:13:45 +08:00
parent d082883bc5
commit 87d4811509
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,7 @@
## 6.5.5
* Removed the custom element registration enhancement for strict CSP builds so that they won't contain `new Function`.
## 6.5.4
* Cleaned up the `console.log` call sneaked in by mistake.

View File

@ -1,6 +1,6 @@
{
"name": "vue-echarts",
"version": "6.5.4",
"version": "6.5.5",
"description": "Vue.js component for Apache ECharts.",
"author": "GU Yiling <justice360@gmail.com>",
"scripts": {

View File

@ -21,6 +21,13 @@ module.exports = {
.test(/\.svg$/)
.use("raw-loader")
.loader("raw-loader");
config.plugin("define").tap(([options]) => [
{
...options,
__CSP__: "false"
}
]);
},
devServer: {
allowedHosts: "all"