I m porting files from a…
I’m porting files from another project with coffeescript. I would love to get rid of coffeescript, but it’ll take time and I don’t want this to be a blocker. Anyone has any experience with using coffeescript inside a nrwl/nx project?
Responses:
I’ve tried adding the coffee loader using the webpackConfig
flag.
Here’s the file contents:
module.exports = function(cfg, ctx) {
return Object.assign(cfg, {
module: {
rules: [
{
test: /\.coffee$/,
loader: 'coffee-loader'
}
]
}
});
};
It still does not compile the coffeescript even though I have the coffee-loader installed.