2022-12-08 17:38:04 +01:00
|
|
|
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
|
2021-02-22 15:43:29 +01:00
|
|
|
@@ -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'),
|
|
|
|
};
|