File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/pwa-kit-dev/src/configs/webpack Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,11 @@ const renderer =
364364 plugins : [
365365 ...config . plugins ,
366366
367+ // This must only appear on one config – this one is the only mandatory one.
368+ new CopyPlugin ( {
369+ patterns : [ { from : 'app/static/' , to : 'static/' } ]
370+ } ) ,
371+
367372 // Keep this on the slowest-to-build item - the server-side bundle.
368373 new WebpackNotifierPlugin ( {
369374 title : `PWA Kit Project: ${ pkg . name } ` ,
@@ -393,10 +398,6 @@ const ssr = (() => {
393398 } ,
394399 plugins : [
395400 ...config . plugins ,
396- // This must only appear on one config – this one is the only mandatory one.
397- new CopyPlugin ( {
398- patterns : [ { from : 'app/static/' , to : 'static/' } ]
399- } ) ,
400401 analyzeBundle && getBundleAnalyzerPlugin ( SSR )
401402 ] . filter ( Boolean )
402403 }
You can’t perform that action at this time.
0 commit comments