-
Notifications
You must be signed in to change notification settings - Fork 181
Doesn't generate inline source maps #60
Comments
Ran into this issue when tried to disable sourcemaps completely. |
@raveclassic thanks for your report. I'll fix this. |
@s-panferov Thanks! TIA |
I have the same issue, and something more with the following configuration: {
resolve: {extensions: ['', '.ts', '.js']},
watch: watch,
module: {
preLoaders: [{test: /\.ts$/, exclude: /node_modules/, loaders: ['tslint-loader']}],
loaders: [{test: /\.ts$/, exclude: /node_modules/, loaders: ['ng-annotate', 'awesome-typescript-loader']}]
},
output: {
filename: 'output.js'
}
} With this configuration, the file is generated BUT there are multiple
directives for each included transpiled module, while in the end there is a
as it should be. Then I tried to set This is similar to webpack/webpack#273 and also causes SitePen/remap-istanbul#20. |
All problems with source maps might gone in v0.15.3, please try it. |
@s-panferov I can confirm the fix, thanks! |
How to configure the same for react native? |
When I try to run with the following tsconfig.json:
"compilerOptions": {
"module": "commonjs",
"inlineSourceMap": true,
"inlineSources": false,
"sourceMap": false
},
I get
Turning inlinesourcemaps off and sourcemaps on works.
How can I get InlineSource Maps with this loader?
And sourceMaps don't seem to work with the source map loader at all.
https://github.com/webpack/source-map-loader
I get the error
The text was updated successfully, but these errors were encountered: