Closed adamyonk closed 7 years ago
AH, coffee files were never touching babel, so the import/exports were being left in. Changing my loader to:
{
test: /\.coffee$/,
use: [ { loader: 'babel-loader' }, { loader: 'coffee-loader' } ],
},
seems to have fixed that issue.
@adamyonk Glad you got it worked out! :)
I'm seeing this issue:
Babel config:
I have this loader in my webpack config:
And I'm trying to use inject-loader like so:
I assume this has to do with essentially doing
'inject-loader!coffee-loader!myfile'
. Do you have any guidance for how to configure this in a project that is also using coffee-loader (or some other lang-loader)? Thank you!