1

I don't find anymore this webpack configuration in new jhipster project generated with latest version. Shall I delete or keep these part of codes ?

module: {
        rules: [{
            test: /\.(j|t)s$/,
            enforce: 'pre',
            loader: 'eslint-loader',
            exclude: /node_modules/
        },
        {
            test: /\.ts$/,
            use: [
                'angular2-template-loader',
                {
                    loader: 'cache-loader',
                    options: {
                      cacheDirectory: path.resolve('target/cache-loader')
                    }
                },
               
                {
                    loader: 'ts-loader',
                    options: {
                        transpileOnly: true,
                        happyPackMode: true
                    }
                }
            ],
            exclude: /(node_modules)/
        }]
    }
1
  • 1
    JHipster 7 stopped using custom webpack configuration; now it delegates build to angular cli. So, unless you modified your webpack config, you could delete it. Feb 15, 2023 at 22:59

1 Answer 1

0

As explained by Gaël Marziou:

JHipster 7 stopped using custom webpack configuration; now it delegates build to angular cli. So, unless you modified your webpack config, you could delete it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.