MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / styleRule

Function styleRule

scripts/webpack-base.js:102–108  ·  view source on GitHub ↗
(options, rule)

Source from the content-addressed store, hash-verified

100}
101
102function styleRule(options, rule) {
103 return {
104 test: /\.css$/,
105 use: styleLoader(options),
106 ...rule,
107 };
108}
109
110const styleOptions = {
111 extract: isProd,

Callers 1

getBaseConfigFunction · 0.85

Calls 1

styleLoaderFunction · 0.85

Tested by

no test coverage detected