You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the very last line, require("./adaptivecards-default.css");, it assume the build pipeline of the project that include Adaptive Cards is on Webpack and have css-loader and style-loader installed.
This will prohibit the use of Adaptive Cards on projects that use rollup.js or other bundling engines that does not support loading CSS in JavaScript.
The text was updated successfully, but these errors were encountered:
compulim
changed the title
Node.js: Adaptive Card should not assume css-loader/webpack is available on the build pipeline of the host project
JavaScript: Adaptive Card should not assume css-loader/webpack is available on the build pipeline of the host project
Jan 8, 2019
Platform
What platform is your issue or question related to? (Delete other platforms).
Author or host
Host
Version of SDK
1.1.2
Issue
In
lib/adaptivecards.js
, it readOn the very last line,
require("./adaptivecards-default.css");
, it assume the build pipeline of the project that include Adaptive Cards is on Webpack and havecss-loader
andstyle-loader
installed.This will prohibit the use of Adaptive Cards on projects that use rollup.js or other bundling engines that does not support loading CSS in JavaScript.
The text was updated successfully, but these errors were encountered: