aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 4b21245..8fd3f15 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -193,10 +193,16 @@ const sharedModulesConfiguration = merge(
entry: sharedModuleEntries,
plugins: [
new CopyPlugin({
- patterns: [{
- from: path.resolve(ROOT_DIR, "static"),
- to: "./"
- }]
+ patterns: [
+ {
+ from: path.resolve("static"),
+ to: "./",
+ },
+ {
+ from: path.resolve("src/offscreen"),
+ to: "./offscreen",
+ },
+ ],
}),
new CreateInjectedSharedModulesPlugin({
injectedSharedModulesImportedCount,