F7 v6/ Svelte Loader / CSS compile Error

There is a problem when compile:

Module build failed (from ./node_modules/svelte-loader/index.js):
Error: TypeError: TypeError: Cannot read property ‘data’ of undefined

node_modules\svelte-loader\lib\virtual.js:74
if (storage.data instanceof Map) {

That problem is after add …CSS… in Any Component.

Global CSS works

for example after added this style i have error on compile
image

someone know where is the problem?

just Added this

Created project:
framework7.json
{
“cwd”: “C:\Users\ExB\Desktop\TEST”,
“type”: [
“web”
],
“name”: “My App”,
“framework”: “svelte”,
“template”: “tabs”,
“bundler”: “webpack”,
“cssPreProcessor”: “scss”,
“theming”: {
“customColor”: false,
“color”: “#007aff”,
“darkTheme”: false,
“iconFonts”: true,
“fillBars”: false
},
“customBuild”: false,
“webpack”: {
“developmentSourceMap”: true,
“productionSourceMap”: true,
“hashAssets”: false,
“preserveAssetsPaths”: false,
“inlineAssets”: true
}
}

There is a bug in svelte loader in combination with webpack 5.
If you need a workaround until this problem is fixed try this:

thanks. it works.
i just changed in webpack.config.js:

emitCss: true,
in
emitCss: false,