Comments (5)
I think both projects are using NPM 5.71, Node 9.7.1. The create-react-app has the configuration hidden if you don't eject it, but according to the error message it is 3.x.x. My main project uses Webpack 2.5.1.
from checkout-sdk-web.
Thanks for your fast responses and fix!
from checkout-sdk-web.
Which version of Webpack, NPM, and Node are you using @mysil2 ?
I'll look into it straight away.
from checkout-sdk-web.
The issue is due to using the IIFE setting, when bundling with Rollup, and referencing the output IIFE script in the browser
property in package.json
.
Per default, Webpack prioritizes the browser
property, then module
, and finally main
.
I'll have a fix ready soon. Sorry for the inconvenience and thanks for the report!
from checkout-sdk-web.
d86de83 Version 3.0.0 is out with proper Webpack support.
Closing...
from checkout-sdk-web.
Related Issues (9)
- Unable to load in ionic framework (iOS) HOT 2
- (Modal) checkout form overflowing on small screen / window widths HOT 2
- Question: Is it possible to add styles to InlineCheckout content HOT 3
- Calling modalCheckout getting token of undefined error
- Missing Example, how to do a payment request for Items with price X? HOT 3
- Uncaught ReferenceError: require is not defined HOT 3
- Style support for native browser autofill. HOT 4
- A lot of vulnerabilities in package.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkout-sdk-web.