-
Notifications
You must be signed in to change notification settings - Fork 181
Fails when upgrading to typescript >= 3.2.1 #618
Comments
Agreed, I had to roll back to 3.1.6 to get it to compile correctly |
Same here |
TS v3.2.2 also has an issue. |
Yepp, just experienced the same |
For the record, this is the error we get when building. The
Here is the (minimal) Webpack configuration that led to this: import webpack from 'webpack';
const config: webpack.Configuration = {
resolve: {
extensions: ['.js', '.json', '.ts', '.tsx'],
},
module: {
rules: [
{
test: /\.tsx?$/,
exclude: /node_modules/,
loader: 'awesome-typescript-loader',
},
],
},
devtool: 'source-map',
};
export default config; What tricked us is that even though the output said |
It works for me with following config (tsconfig.json):
|
@bitworking what effect does this have on the output? Also...for me it works on the first compile but fails with HMR whenever I edit a file in development. |
@basslagter Yes you are right..a live reload doesn't work for me either. I didn't examine the output if there's a difference but from the docs it only uses a |
@bitworking yes, I am also thinking about switching. This package does not seem to be maintained anymore. Thanks! |
That's funny but |
encounter the same problem. maybe I should be switch ts-loader too. |
@bitworking - this link doesn't work anymore - you wouldn't happen to be able to get a working URL could you? |
When upgrading to Typescript 3.2.1 I get
"Module build failed: Error: Final loader (./node_modules/awesome-typescript-loader/dist/entry.js) didn't return a Buffer or String"
The text was updated successfully, but these errors were encountered: