Files
ohif-viewer/.webpack/rules/stylusToJavaScript.js
2025-03-07 13:47:44 +07:00

11 lines
274 B
JavaScript

const stylusToJavaScript = {
test: /\.styl$/,
use: [
{ loader: 'style-loader' }, // 3. Style nodes from JS Strings
{ loader: 'css-loader' }, // 2. CSS to CommonJS
{ loader: 'stylus-loader' }, // 1. Stylus to CSS
],
};
module.exports = stylusToJavaScript;