Skip to content

Commit

Permalink
Work around webpack 4 build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
terski committed Oct 15, 2018
1 parent eb9fa9f commit c5d1834
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ module.exports = {
target: 'node',
module: {
rules: [
{
type: 'javascript/auto',
test: /\.mjs$/,
use: [],
},
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
{ test: /\.tsx?$/, loader: 'ts-loader' },
],
Expand Down

0 comments on commit c5d1834

Please sign in to comment.