diff --git a/CHANGELOG.md b/CHANGELOG.md index 7052ece9..68d5c700 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog -## [v1.16.0](https://github.com/contentstack/contentstack-management-javascript/tree/v1.15.4) (2024-04-09) +## [v1.16.1](https://github.com/contentstack/contentstack-management-javascript/tree/v1.16.1) (2024-05-08) + - Fix + - Fix for `fs` not found issue in web build +## [v1.16.0](https://github.com/contentstack/contentstack-management-javascript/tree/v1.16.0) (2024-04-09) - Feature - Get languages of an entry ## [v1.15.4](https://github.com/contentstack/contentstack-management-javascript/tree/v1.15.4) (2024-03-28) diff --git a/package-lock.json b/package-lock.json index 3d6b8925..be28c2e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@contentstack/management", - "version": "1.16.0", + "version": "1.16.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@contentstack/management", - "version": "1.16.0", + "version": "1.16.1", "license": "MIT", "dependencies": { "@slack/bolt": "^3.17.1", diff --git a/package.json b/package.json index 5cdfc447..1e4be2b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/management", - "version": "1.16.0", + "version": "1.16.1", "description": "The Content Management API is used to manage the content of your Contentstack account", "main": "./dist/node/contentstack-management.js", "browser": "./dist/web/contentstack-management.js", diff --git a/webpack/webpack.web.js b/webpack/webpack.web.js index 2f6f0a1d..a5db3947 100644 --- a/webpack/webpack.web.js +++ b/webpack/webpack.web.js @@ -3,10 +3,11 @@ const path = require('path') const webpackMerge = require('webpack-merge') -const commonConfig = require('./webpack.common.js') +const commonConfig = require('./webpack.common.js')() module.exports = function (options) { - return webpackMerge(commonConfig(), { + delete commonConfig.externals; + return webpackMerge(commonConfig, { output: { libraryTarget: 'umd', path: path.join(__dirname, '../dist/web'), @@ -14,7 +15,8 @@ module.exports = function (options) { }, resolve: { fallback: { - os: require.resolve('os-browserify/browser') + os: require.resolve('os-browserify/browser'), + fs: false } }, module: {