1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00
metamask-extension/patches/stylelint+13.6.1.patch
Etienne Dusseault f196c9feb8
Add Lavamoat to build system (#9939)
* lavamoat - run build system in lavamoat

* lavamoat/allow-scripts - add missing policy entry

* update viz and lavvamoat

* trim policy file

* bump viz

* prue policy override

* regen policy file

* Update package.json

* Update package.json

* Apply suggestions from code review

Co-authored-by: kumavis <kumavis@users.noreply.github.com>

* update policy, remove redundant patches

* use yarn setup in CI

Co-authored-by: kumavis <aaron@kumavis.me>
Co-authored-by: kumavis <kumavis@users.noreply.github.com>
2021-02-22 22:43:29 +08:00

29 lines
1.0 KiB
Diff

diff --git a/node_modules/stylelint/lib/syntaxes/index.js b/node_modules/stylelint/lib/syntaxes/index.js
index 7afa0c3..73eaa00 100644
--- a/node_modules/stylelint/lib/syntaxes/index.js
+++ b/node_modules/stylelint/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'),
};