tpa-style-webpack-plugin
Version:
A Webpack plugin that handles wix tpa styles, it separates static css file that injects dynamic style at runtime.
16 lines (15 loc) • 348 B
JavaScript
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
}
else if (typeof exports === 'object') {
module.exports = factory();
}
else {
root.cssConfig = factory();
}
})(this, function () {
return {
cssConfig: 'CSS_CONFIG_PLACEHOLDER',
};
});