-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Problem:
When I set it up, I get an error.
cache: {
type: 'filesystem'
}
Error log:
-> RawSource
[webpack.cache.PackFileCacheStrategy] Error: No serializer registered for RawSource
Thinking 🤔:
I think it's because a new source has been replaced afterafterCodeGeneration
. so can I modify it directly on the original source?
sourceMap.set(
'javascript',
new RawSource(rawSource.source().replace(`"${urlTemplate}"`, urlExpression))
);
valentinpalkovic
Metadata
Metadata
Assignees
Labels
No labels