Skip to content

Commit

Permalink
fix(rlp): import as it is
Browse files Browse the repository at this point in the history
reverts 03c2dcb
node_modules/rlp/dist/index.js doesn't contain `const` anymore, but this processing was breaking import of commonjs module
  • Loading branch information
davidyuk committed Jun 5, 2021
1 parent 79b7ee6 commit 736b0f5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ function configure (filename, opts = {}) {
test: /\.(js|ts)$/,
include: path.resolve(__dirname, 'src'),
loader: 'babel-loader'
},
{
test: /\.js$/,
include: path.resolve(__dirname, 'node_modules/rlp'),
loader: 'babel-loader',
options: { presets: ['@babel/preset-env'] }
}
]
},
Expand Down

0 comments on commit 736b0f5

Please sign in to comment.