diff --git a/examples/app-basic/.config/.cprc.json b/examples/app-basic/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-basic/.config/.cprc.json +++ b/examples/app-basic/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-basic/.config/webpack/webpack.config.ts b/examples/app-basic/.config/webpack/webpack.config.ts index c97f8e8b0..d498d92ac 100644 --- a/examples/app-basic/.config/webpack/webpack.config.ts +++ b/examples/app-basic/.config/webpack/webpack.config.ts @@ -175,6 +175,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -201,14 +202,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/app-with-backend/.config/.cprc.json b/examples/app-with-backend/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-with-backend/.config/.cprc.json +++ b/examples/app-with-backend/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-with-backend/.config/webpack/webpack.config.ts b/examples/app-with-backend/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100755 --- a/examples/app-with-backend/.config/webpack/webpack.config.ts +++ b/examples/app-with-backend/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/app-with-dashboards/.config/.cprc.json b/examples/app-with-dashboards/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-with-dashboards/.config/.cprc.json +++ b/examples/app-with-dashboards/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-with-dashboards/.config/webpack/webpack.config.ts b/examples/app-with-dashboards/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/app-with-dashboards/.config/webpack/webpack.config.ts +++ b/examples/app-with-dashboards/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/app-with-extension-point/.config/.cprc.json b/examples/app-with-extension-point/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-with-extension-point/.config/.cprc.json +++ b/examples/app-with-extension-point/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-with-extension-point/.config/webpack/webpack.config.ts b/examples/app-with-extension-point/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/app-with-extension-point/.config/webpack/webpack.config.ts +++ b/examples/app-with-extension-point/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/app-with-extensions/.config/.cprc.json b/examples/app-with-extensions/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-with-extensions/.config/.cprc.json +++ b/examples/app-with-extensions/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-with-extensions/.config/webpack/webpack.config.ts b/examples/app-with-extensions/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/app-with-extensions/.config/webpack/webpack.config.ts +++ b/examples/app-with-extensions/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/app-with-rbac/.config/.cprc.json b/examples/app-with-rbac/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-with-rbac/.config/.cprc.json +++ b/examples/app-with-rbac/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-with-rbac/.config/webpack/webpack.config.ts b/examples/app-with-rbac/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/app-with-rbac/.config/webpack/webpack.config.ts +++ b/examples/app-with-rbac/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/app-with-scenes/.config/.cprc.json b/examples/app-with-scenes/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-with-scenes/.config/.cprc.json +++ b/examples/app-with-scenes/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-with-scenes/.config/webpack/webpack.config.ts b/examples/app-with-scenes/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/app-with-scenes/.config/webpack/webpack.config.ts +++ b/examples/app-with-scenes/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/app-with-service-account/.config/.cprc.json b/examples/app-with-service-account/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/app-with-service-account/.config/.cprc.json +++ b/examples/app-with-service-account/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/app-with-service-account/.config/webpack/webpack.config.ts b/examples/app-with-service-account/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/app-with-service-account/.config/webpack/webpack.config.ts +++ b/examples/app-with-service-account/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/datasource-basic/.config/.cprc.json b/examples/datasource-basic/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/datasource-basic/.config/.cprc.json +++ b/examples/datasource-basic/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/datasource-basic/.config/webpack/webpack.config.ts b/examples/datasource-basic/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/datasource-basic/.config/webpack/webpack.config.ts +++ b/examples/datasource-basic/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/datasource-http-backend/.config/.cprc.json b/examples/datasource-http-backend/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/datasource-http-backend/.config/.cprc.json +++ b/examples/datasource-http-backend/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/datasource-http-backend/.config/webpack/webpack.config.ts b/examples/datasource-http-backend/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/datasource-http-backend/.config/webpack/webpack.config.ts +++ b/examples/datasource-http-backend/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/datasource-http/.config/.cprc.json b/examples/datasource-http/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/datasource-http/.config/.cprc.json +++ b/examples/datasource-http/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/datasource-http/.config/webpack/webpack.config.ts b/examples/datasource-http/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/datasource-http/.config/webpack/webpack.config.ts +++ b/examples/datasource-http/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/datasource-logs/.config/.cprc.json b/examples/datasource-logs/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/datasource-logs/.config/.cprc.json +++ b/examples/datasource-logs/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/datasource-logs/.config/webpack/webpack.config.ts b/examples/datasource-logs/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/datasource-logs/.config/webpack/webpack.config.ts +++ b/examples/datasource-logs/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/.cprc.json b/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/.cprc.json +++ b/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/webpack/webpack.config.ts b/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/webpack/webpack.config.ts +++ b/examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/.cprc.json b/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/.cprc.json +++ b/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/webpack/webpack.config.ts b/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/webpack/webpack.config.ts +++ b/examples/datasource-streaming-websocket/streaming-websocket-plugin/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/panel-basic/.config/.cprc.json b/examples/panel-basic/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/panel-basic/.config/.cprc.json +++ b/examples/panel-basic/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/panel-basic/.config/webpack/webpack.config.ts b/examples/panel-basic/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/panel-basic/.config/webpack/webpack.config.ts +++ b/examples/panel-basic/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/panel-datalinks/.config/.cprc.json b/examples/panel-datalinks/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/panel-datalinks/.config/.cprc.json +++ b/examples/panel-datalinks/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/panel-datalinks/.config/webpack/webpack.config.ts b/examples/panel-datalinks/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/panel-datalinks/.config/webpack/webpack.config.ts +++ b/examples/panel-datalinks/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json diff --git a/examples/panel-frame-select/.config/.cprc.json b/examples/panel-frame-select/.config/.cprc.json index c409749d8..d469b5968 100644 --- a/examples/panel-frame-select/.config/.cprc.json +++ b/examples/panel-frame-select/.config/.cprc.json @@ -1,3 +1,3 @@ { - "version": "5.12.2" + "version": "5.12.3" } diff --git a/examples/panel-frame-select/.config/webpack/webpack.config.ts b/examples/panel-frame-select/.config/webpack/webpack.config.ts index 11a3c7b7e..e430fcbc1 100644 --- a/examples/panel-frame-select/.config/webpack/webpack.config.ts +++ b/examples/panel-frame-select/.config/webpack/webpack.config.ts @@ -176,6 +176,7 @@ const config = async (env): Promise => { keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`), }, filename: '[name].js', + chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js', library: { type: 'amd', }, @@ -202,14 +203,14 @@ const config = async (env): Promise => { { from: 'plugin.json', to: '.' }, { from: '../LICENSE', to: '.' }, { from: '../CHANGELOG.md', to: '.', force: true }, - { from: '**/*.json', to: '.' }, // TODO - { from: '**/*.svg', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.png', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/*.html', to: '.', noErrorOnMissing: true }, // Optional - { from: 'img/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: 'static/**/*', to: '.', noErrorOnMissing: true }, // Optional - { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, // Optional + { from: '**/*.json', to: '.' }, + { from: '**/*.svg', to: '.', noErrorOnMissing: true }, + { from: '**/*.png', to: '.', noErrorOnMissing: true }, + { from: '**/*.html', to: '.', noErrorOnMissing: true }, + { from: 'img/**/*', to: '.', noErrorOnMissing: true }, + { from: 'libs/**/*', to: '.', noErrorOnMissing: true }, + { from: 'static/**/*', to: '.', noErrorOnMissing: true }, + { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ], }), // Replace certain template-variables in the README and plugin.json