diff --git a/@plotly/dash-component-plugins/LICENSE b/@plotly/dash-component-plugins/LICENSE index f8dd245665..ded2aed963 100644 --- a/@plotly/dash-component-plugins/LICENSE +++ b/@plotly/dash-component-plugins/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Plotly +Copyright (c) 2021 Plotly, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/@plotly/webpack-dash-dynamic-import/LICENSE b/@plotly/webpack-dash-dynamic-import/LICENSE index f8dd245665..ded2aed963 100644 --- a/@plotly/webpack-dash-dynamic-import/LICENSE +++ b/@plotly/webpack-dash-dynamic-import/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Plotly +Copyright (c) 2021 Plotly, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/@plotly/webpack-dash-dynamic-import/package.json b/@plotly/webpack-dash-dynamic-import/package.json index b2504683b2..f90e00d8dc 100644 --- a/@plotly/webpack-dash-dynamic-import/package.json +++ b/@plotly/webpack-dash-dynamic-import/package.json @@ -1,6 +1,6 @@ { "name": "@plotly/webpack-dash-dynamic-import", - "version": "1.1.5", + "version": "1.2.0", "description": "Webpack Plugin for Dynamic Import in Dash", "repository": { "type": "git", diff --git a/@plotly/webpack-dash-dynamic-import/src/index.js b/@plotly/webpack-dash-dynamic-import/src/index.js index ff7a14dad1..490e66b904 100644 --- a/@plotly/webpack-dash-dynamic-import/src/index.js +++ b/@plotly/webpack-dash-dynamic-import/src/index.js @@ -78,10 +78,7 @@ class WebpackDashDynamicImport { apply(compiler) { compiler.hooks.compilation.tap('WebpackDashDynamicImport', compilation => { compilation.mainTemplate.hooks.requireExtensions.tap('WebpackDashDynamicImport > RequireExtensions', (source, chunk, hash) => { - return [ - source, - resolveImportSource() - ] + return source + resolveImportSource(); }); }); } diff --git a/LICENSE b/LICENSE index c78d61d94c..1196ce9631 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Plotly, Inc +Copyright (c) 2021 Plotly, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal