Trois absolues du livre de contes
const path = require('path');
module.exports = {
...other settings....,
webpackFinal: async (config) => {
config.resolve.modules = [
...(config.resolve.modules || []),
path.resolve(__dirname, "../src"),
];
return config;
},
}
// Then add this in your tsconfig.json/jsconfig.json
{
......
"compilerOptions": {
.....
"baseUrl": "./src"
}
}
Grieving Gorilla