1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/.yarn/patches/stylelint-npm-13.6.1-47aaddf62b.patch

29 lines
1.0 KiB
Diff
Raw Normal View History

diff --git a/lib/syntaxes/index.js b/lib/syntaxes/index.js
index 7afa0c3ccd852ed903a43cb8dcb4242e580fc5f0..73eaa00d8d430610df58303a1428f83b07e9e967 100644
--- a/lib/syntaxes/index.js
+++ b/lib/syntaxes/index.js
@@ -1,16 +1,13 @@
'use strict';
-// Use this require pattern so that syntaxes can be bundled separately
-const importLazy = require('import-lazy')(require);
-
/** @typedef {import('../getPostcssResult').Syntax} Syntax */
/** @type {{[k: string]: Syntax}} */
module.exports = {
- 'css-in-js': importLazy('./syntax-css-in-js'),
- html: importLazy('./syntax-html'),
- less: importLazy('./syntax-less'),
- markdown: importLazy('./syntax-markdown'),
- sass: importLazy('./syntax-sass'),
- scss: importLazy('./syntax-scss'),
- sugarss: importLazy('./syntax-sugarss'),
+ 'css-in-js': require('./syntax-css-in-js'),
+ html: require('./syntax-html'),
+ less: require('./syntax-less'),
+ markdown: require('./syntax-markdown'),
+ sass: require('./syntax-sass'),
+ scss: require('./syntax-scss'),
+ sugarss: require('./syntax-sugarss'),
};