v3.6.0
- Supports clean NPM module loading eg:
const amplitude = require('amplitude');orimport 'amplitude' from 'amplitude-js'; - SDK is now a proper UMD module. Supports RequireJS with r.js builds now.
- Updated build process to use webpack
const amplitude = require('amplitude'); or import 'amplitude' from 'amplitude-js';