Braintree-web: 3.8.0 broke for webpack ignore

Created on 8 Feb 2017  路  2Comments  路  Source: braintree/braintree-web

3.8.0 just broke every webpack build that uses 'noParse: [/braintree-web/],' which was the fix to ignore braintree/webpack errors in the console.

Most helpful comment

3.8.0 now puts the unbundled code on npm, so the noParse hack is no longer needed. The reason it breaks is because now webpack _needs_ to parse it.

I'm going to leave this open for a few days so other people using webpack with the noParse hack will be able to see the solution, then we will close this issue.

All 2 comments

3.8.0 now puts the unbundled code on npm, so the noParse hack is no longer needed. The reason it breaks is because now webpack _needs_ to parse it.

I'm going to leave this open for a few days so other people using webpack with the noParse hack will be able to see the solution, then we will close this issue.

+1

Removing the noParse for braintree-web fixed the issue.

Was this page helpful?
0 / 5 - 0 ratings