Thursday 24 September 2020

Hot to add json to resolve array in Angular 9

I am building angular 9 application and I want to have something like that:

module.exports = {
    // ...

    resolve: {
        modules: ['src', 'node_modules'],
        extensions: ['.tsx', '.ts', '.js', '.json']
    }

    // ...
};

I mean I want to add resolve extentions. I know I should modify webpack config, but there is no webpack file to modify



from Hot to add json to resolve array in Angular 9

No comments:

Post a Comment