Skip to content

Commit

Permalink
[kbn/optimizer] fix .json extension handling
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Sep 25, 2020
1 parent d512b5a commit 0cf1430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-optimizer/src/worker/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function getWebpackConfig(bundle: Bundle, bundleRefs: BundleRefs, worker:
},

resolve: {
extensions: ['.js', '.ts', '.tsx', 'json'],
extensions: ['.js', '.ts', '.tsx', '.json'],
mainFields: ['browser', 'main'],
alias: {
tinymath: require.resolve('tinymath/lib/tinymath.es5.js'),
Expand Down

0 comments on commit 0cf1430

Please sign in to comment.