Skip to content

Commit

Permalink
Webpack: prevent source map warning
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Oct 22, 2024
1 parent 16319d7 commit aa26974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const sharedConfig = {
test: /\.m?js$/,
use: ['source-map-loader'],
// html-to-image and react-blurhash reference source maps but don't currently ship with any.
exclude: /node_modules\/html-to-image|node_modules\/react-blurhash/,
exclude: /node_modules\/html-to-image|node_modules\/react-blurhash|node_modules\/stylis-plugin-rtl/,
enforce: 'pre',
resolve: {
fullySpecified: false,
Expand Down

0 comments on commit aa26974

Please sign in to comment.