diff options
Diffstat (limited to 'config/webpack.config.js')
| -rw-r--r-- | config/webpack.config.js | 14 |
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, |
