diff --git a/packages/core/build/config.js b/packages/core/build/config.js index ee55877b5d52..cc7c665535d0 100644 --- a/packages/core/build/config.js +++ b/packages/core/build/config.js @@ -37,8 +37,8 @@ const copyConfig = base => { to: 'cashier/css', }, { - from: path.resolve(__dirname, '../node_modules/@deriv/cashier/dist/cashier/public/'), - to: 'public', + from: path.resolve(__dirname, '../node_modules/@deriv/cashier/dist/cashier/public'), + to: 'cashier/public', transformPath(context) { return context.split('node_modules/@deriv/cashier/dist/')[1]; },