Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
source-maps removing using webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard-deriv committed Jan 16, 2024
1 parent 953800d commit c7cd539
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,10 @@ exports.onCreateWebpackConfig = ({ stage, actions, loaders, getConfig }, { ...op
})
}
actions.setWebpackConfig({
devtool: false,
plugins: [new StylelintPlugin({ ...style_lint_options, ...options })],
resolve: {
modules: [path.resolve(__dirname, 'src'), 'node_modules'],
},
})
}
}

0 comments on commit c7cd539

Please sign in to comment.