fix: update devtool property to eval-source-map (#4760)

This commit is contained in:
Yunus M 2024-03-28 16:58:35 +05:30 committed by GitHub
parent 9f30bba9a8
commit 5d5ff47d5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ if (process.env.BUNDLE_ANALYSER === 'true') {
*/
const config = {
mode: 'development',
devtool: 'source-map',
devtool: 'eval-source-map',
entry: resolve(__dirname, './src/index.tsx'),
devServer: {
historyApiFallback: {

View File

@ -79,7 +79,7 @@ if (process.env.BUNDLE_ANALYSER === 'true') {
const config = {
mode: 'production',
devtool: 'source-map',
devtool: 'eval-source-map',
entry: resolve(__dirname, './src/index.tsx'),
output: {
path: resolve(__dirname, './build'),