You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be misunderstanding the purpose of this tool... I'm trying to replace webpack-isomorphic-tools and essentially need a new webpack-assets.json. webpack-assets.json was a mapping from asset import paths to asset URLs (regular URLs or base64 URLs).
I'm thinking webpack-manifest-plugin might be the right solution here, but it currently only includes emitted files in its mapping (e.g. from file-loader or type: 'asset/resource'), but not base64 assets (e.g. from url-loader or type: 'asset/inline').
Feature Proposal
In addition to including an asset mapping for emitted files:
{
"sdk.js": "https://example.com/sdk.js"
}
... also include asset mapping for non-emitted files:
If you're worried about this impacting existing setups, I think it'd be pretty easy to put it behind a default false flag like includeNonEmittedFiles or something.
The text was updated successfully, but these errors were encountered:
Feature Use Case
I might be misunderstanding the purpose of this tool... I'm trying to replace
webpack-isomorphic-tools
and essentially need a newwebpack-assets.json
.webpack-assets.json
was a mapping from asset import paths to asset URLs (regular URLs or base64 URLs).I'm thinking
webpack-manifest-plugin
might be the right solution here, but it currently only includes emitted files in its mapping (e.g. fromfile-loader
ortype: 'asset/resource'
), but not base64 assets (e.g. fromurl-loader
ortype: 'asset/inline'
).Feature Proposal
In addition to including an asset mapping for emitted files:
... also include asset mapping for non-emitted files:
If you're worried about this impacting existing setups, I think it'd be pretty easy to put it behind a default false flag like
includeNonEmittedFiles
or something.The text was updated successfully, but these errors were encountered: