diff --git a/AdaptiveCards.md b/AdaptiveCards.md index dfe4ada71b..0e3ba5c439 100644 --- a/AdaptiveCards.md +++ b/AdaptiveCards.md @@ -62,7 +62,7 @@ You may wish to create your Host Configuration using SCSS in this repo. This met ### Optional: Embed without webpack -It is also possible to supply an Adaptive Cards Host Configuration without the need to webpack. Start with the [basic example from the readme](https://github.com/Microsoft/BotFramework-WebChat#easy-in-your-non-react-website-run-web-chat-inline), then add some script prior to instantiating `BotChat.App`: +It is also possible to supply an Adaptive Cards Host Configuration without the need to webpack. Start with the [basic example from the readme](https://github.com/Microsoft/BotFramework-WebChat#easy-in-your-non-react-website-run-web-chat-inline), then add `adaptiveCardsHostConfig` prop when instantiating `BotChat.App`: ```HTML @@ -74,11 +74,10 @@ It is also possible to supply an Adaptive Cards Host Configuration without the n
+ + + + +
+ - - - - \ No newline at end of file + + diff --git a/webpack.config.js b/webpack.config.js index c2d55837e1..5ada7e6375 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -21,7 +21,7 @@ var coreConfig = { exclude: [/node_modules/] }, { - test: require.resolve('microsoft-adaptivecards'), + test: require.resolve('adaptivecards'), use: [{ loader: 'expose-loader', options: 'AdaptiveCards' }] } ] diff --git a/webpack.production.config.js b/webpack.production.config.js index 78523ec9ab..d9abe0e68b 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -35,7 +35,7 @@ var coreConfig = { exclude: [/node_modules/] }, { - test: require.resolve('microsoft-adaptivecards'), + test: require.resolve('adaptivecards'), use: [{ loader: 'expose-loader', options: 'AdaptiveCards' }] } ]