webpack/test/configCases/css/css-modules/use-style.js

17 lines
579 B
JavaScript
Raw Normal View History

2021-12-15 15:34:31 +08:00
import * as style from "./style.module.css";
import { local1, local2, local3, local4, ident } from "./style.module.css";
2021-12-15 15:34:31 +08:00
export default {
global: style.global,
2021-12-15 15:34:31 +08:00
class: style.class,
local: `${local1} ${local2} ${local3} ${local4}`,
local2: `${style.local5} ${style.local6}`,
nested: `${style.nested1} ${style.nested2} ${style.nested3}`,
ident,
keyframes: style.localkeyframes,
animation: style.animation,
vars: `${style["local-color"]} ${style.vars} ${style["global-color"]} ${style.globalVars}`,
media: style.wideScreenClass,
supports: style.displayGridInSupports,
2021-12-15 15:34:31 +08:00
};