-
Notifications
You must be signed in to change notification settings - Fork 156
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
Source map corrupted #225
Comments
When used manually min version all OK |
Still not solved |
The source maps are generated by Rollup.js. I don't have any idea what to do about this. |
I think this is due paths with parenthesis (../) in paths or other issue |
I think you can postprocess source file with something like
|
Which of the two source maps is the one that you're saying is corrupted? |
angular.js.map that for unminified dist |
Issue is still there. I've run into the same bug with webpack 2.2. Defining babel loader for this file solves it but I don't want to add babel only for one lib. |
My workaround was to alias this module to the {
resolve: {
alias: {
'angular-cache': path.resolve(__dirname, 'node_modules/angular-cache/dist/angular-cache.min.js'),
}
}
} |
A couple of other issues related to this module's source maps:
|
From mozilla/source-map#247 comments:
Might need to do the same here. |
In particular I was following: rollup/rollup#1254 |
Error when using with webpack with source-map-loader
imports?this=>window&module=>undefined&exports=>undefined&define=>undefined!angular-cache
The text was updated successfully, but these errors were encountered: