This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
Does not work with Typescript #27
Comments
It appears I was able to fix this by modifying the // added code to convert from loaders syntax to rules syntax
if (typeof changedCompiler.options.module.loaders !== 'undefined') {
changedCompiler.options.module.loaders.map(loader => {
changedCompiler.options.module.rules.push({
test: loader.test,
use: [{
loader: loader.loader,
}],
});
});
}
delete changedCompiler.options.module.loaders; |
Upon thinking about it further I believe it would be better to warn the user about the incompatibility vs attempting to rewrite their webpack config. Thoughts? |
Fix published as |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When attempting use use with Webpack I get the following:
The text was updated successfully, but these errors were encountered: