I can't compile my code anymore because I get this error in my console:
An unhandled exception occurred: addTailwindPlugin is not a function
I don't know what happened actually, but I looked into my webpack.config.js file and there's another error with ESLint: Parsing error: The keyword 'const' is reserved.
That's really weird. Here's the config:
const { addTailwindPlugin } = require("@ngneat/tailwind");
const tailwindConfig = require("./tailwind.config.js");
module.exports = (config) => {
addTailwindPlugin({
webpackConfig: config,
tailwindConfig,
patchComponentsStyles: true
});
return config;
};