rsnext/test/integration/production/components/dynamic-css
khades b1503e13e8
Fix dynamic css unloading (#17173)
Serverside Dynamically loaded CSS module file insertion adds css-files as usual static files with special data-n-p tag, that is used in page transition logic. That files get removed on page transition cause they are not explicitly required in scope of page.

Mini-css-extract-plugin adds style tags at chunk insertion without any tags and leave them be, no matter how many page transitions were made.

I removed data-n-p tag from dynamically loaded css module files and added new data-n-d tag for it.

Fixes #16950
2020-11-03 05:23:31 +00:00
..
many-imports Store css file dependencies info for dynamic imports and apply it at SSR (#12843) 2020-08-24 05:20:11 +00:00
many-modules Store css file dependencies info for dynamic imports and apply it at SSR (#12843) 2020-08-24 05:20:11 +00:00
nested Store css file dependencies info for dynamic imports and apply it at SSR (#12843) 2020-08-24 05:20:11 +00:00
shared-css-module Store css file dependencies info for dynamic imports and apply it at SSR (#12843) 2020-08-24 05:20:11 +00:00
no-css.js Store css file dependencies info for dynamic imports and apply it at SSR (#12843) 2020-08-24 05:20:11 +00:00
with-css.js Fix dynamic css unloading (#17173) 2020-11-03 05:23:31 +00:00
with-css.module.css Fix dynamic css unloading (#17173) 2020-11-03 05:23:31 +00:00