Skip to content

Commit ea03117

Browse files
committed
Use webpack resolve alias to load the shrinkwrap version of cloudinary-core in the sample app
1 parent 14c0360 commit ea03117

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

samples/photo_album/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ module.exports = {
2828
},
2929
resolve: {
3030
extensions: ['', '.ts', '.js'],
31-
modules: [path.join(__dirname, "node_modules")]
31+
modules: [path.join(__dirname, "node_modules")],
32+
alias: { "cloudinary-core": "cloudinary-core/cloudinary-core-shrinkwrap.js" }
3233
},
3334
devServer: {
3435
port: 8002,

0 commit comments

Comments
 (0)