npm @inboxsdk/core 0.2.20

latest releases: 2.1.64, 2.1.63, 2.1.62...
23 months ago

Source maps are now included in the @inboxsdk/core npm package to help debugging into InboxSDK source code.

If you're using webpack, then to benefit from the included sourcemaps you may need to configure it to use source-map-loader by adding it as a dependency (npm i -D source-map-loader) and then adding configuration like this to your webpack config:

module.exports = {
+  module: {
+    rules: [
+      {
+        test: /\.m?jsx?$/,
+        enforce: "pre",
+        use: ["source-map-loader"],
+      }
+    ]
+  },

The example InboxSDK extension has been updated like this to make use of the included sourcemaps.

Don't miss a new core release

NewReleases is sending notifications on new releases.