-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack(Imports Loader v1.x, v2.x) not work #639
Comments
This was referenced Jan 24, 2021
hrkksm10
changed the title
Webpack(Imports Loader v1.x.x) not work
Webpack(Imports Loader v1.x, v2.x) not work
Feb 2, 2021
oh thank's |
The corresponding config in expanded format (verified to work with module: {
rules: [
{
test: require.resolve('snapsvg/dist/snap.svg.js'),
use: [
{
loader: 'imports-loader',
options: {
wrapper: 'window',
}
},
{
loader: 'imports-loader',
options: {
additionalCode: 'module.exports = 0;'
}
}
]
}
]
} |
This was referenced Jan 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not work
work
The text was updated successfully, but these errors were encountered: