Skip to content

Commit

Permalink
Merge pull request #223 from 10up/fix/include-source-maps-in-dist-bundle
Browse files Browse the repository at this point in the history
Publish source-map of build assets
  • Loading branch information
fabiankaegy authored Jun 21, 2023
2 parents 376787d + 1e4249d commit 6363116
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ function externalizeWpDeps({ request }, callback) {

module.exports = {
...config,
devtool: 'source-map',
plugins: [...config.plugins, new webpack.ExternalsPlugin(null, externalizeWpDeps)],
};

0 comments on commit 6363116

Please sign in to comment.