tailwindcss 0.0.0-insiders.fda68f7 → 0.0.0-oxide.6bf5e56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/CHANGELOG.md +603 -2
  2. package/LICENSE +1 -2
  3. package/README.md +14 -6
  4. package/colors.d.ts +3 -0
  5. package/colors.js +2 -304
  6. package/defaultConfig.d.ts +3 -0
  7. package/defaultConfig.js +2 -4
  8. package/defaultTheme.d.ts +4 -0
  9. package/defaultTheme.js +2 -4
  10. package/lib/cli/build/deps.js +54 -0
  11. package/lib/cli/build/index.js +48 -0
  12. package/lib/cli/build/plugin.js +367 -0
  13. package/lib/cli/build/utils.js +78 -0
  14. package/lib/cli/build/watching.js +178 -0
  15. package/lib/cli/help/index.js +71 -0
  16. package/lib/cli/index.js +18 -0
  17. package/lib/cli/init/index.js +46 -0
  18. package/lib/cli/shared.js +13 -0
  19. package/lib/cli-peer-dependencies.js +22 -14
  20. package/lib/cli.js +217 -743
  21. package/lib/constants.js +41 -34
  22. package/lib/corePluginList.js +178 -5
  23. package/lib/corePlugins.js +3879 -2941
  24. package/lib/css/preflight.css +22 -9
  25. package/lib/featureFlags.js +61 -50
  26. package/lib/index.js +45 -28
  27. package/lib/lib/cacheInvalidation.js +90 -0
  28. package/lib/lib/collapseAdjacentRules.js +52 -36
  29. package/lib/lib/collapseDuplicateDeclarations.js +83 -0
  30. package/lib/lib/content.js +176 -0
  31. package/lib/lib/defaultExtractor.js +236 -0
  32. package/lib/lib/detectNesting.js +37 -0
  33. package/lib/lib/evaluateTailwindFunctions.js +203 -161
  34. package/lib/lib/expandApplyAtRules.js +502 -221
  35. package/lib/lib/expandTailwindAtRules.js +258 -243
  36. package/lib/lib/findAtConfigPath.js +44 -0
  37. package/lib/lib/generateRules.js +775 -320
  38. package/lib/lib/getModuleDependencies.js +44 -46
  39. package/lib/lib/normalizeTailwindDirectives.js +79 -60
  40. package/lib/lib/offsets.js +217 -0
  41. package/lib/lib/partitionApplyAtRules.js +56 -0
  42. package/lib/lib/regex.js +60 -0
  43. package/lib/lib/resolveDefaultsAtRules.js +150 -94
  44. package/lib/lib/setupContextUtils.js +1146 -599
  45. package/lib/lib/setupTrackingContext.js +129 -177
  46. package/lib/lib/sharedState.js +53 -21
  47. package/lib/lib/substituteScreenAtRules.js +26 -28
  48. package/{nesting → lib/postcss-plugins/nesting}/README.md +2 -2
  49. package/lib/postcss-plugins/nesting/index.js +19 -0
  50. package/lib/postcss-plugins/nesting/plugin.js +87 -0
  51. package/lib/processTailwindFeatures.js +58 -53
  52. package/lib/public/colors.js +331 -0
  53. package/lib/public/create-plugin.js +15 -0
  54. package/lib/public/default-config.js +16 -0
  55. package/lib/public/default-theme.js +16 -0
  56. package/lib/public/resolve-config.js +22 -0
  57. package/lib/util/bigSign.js +7 -6
  58. package/lib/util/buildMediaQuery.js +21 -32
  59. package/lib/util/cloneDeep.js +16 -14
  60. package/lib/util/cloneNodes.js +29 -15
  61. package/lib/util/color.js +90 -66
  62. package/lib/util/configurePlugins.js +17 -15
  63. package/lib/util/createPlugin.js +23 -26
  64. package/lib/util/createUtilityPlugin.js +46 -46
  65. package/lib/util/dataTypes.js +242 -0
  66. package/lib/util/defaults.js +20 -15
  67. package/lib/util/escapeClassName.js +18 -17
  68. package/lib/util/escapeCommas.js +7 -6
  69. package/lib/util/flattenColorPalette.js +13 -12
  70. package/lib/util/formatVariantSelector.js +285 -0
  71. package/lib/util/getAllConfigs.js +44 -18
  72. package/lib/util/hashConfig.js +15 -12
  73. package/lib/util/isKeyframeRule.js +7 -6
  74. package/lib/util/isPlainObject.js +11 -11
  75. package/lib/util/isSyntacticallyValidPropertyValue.js +72 -0
  76. package/lib/util/log.js +52 -33
  77. package/lib/util/nameClass.js +37 -26
  78. package/lib/util/negateValue.js +31 -17
  79. package/lib/util/normalizeConfig.js +281 -0
  80. package/lib/util/normalizeScreens.js +170 -0
  81. package/lib/util/parseAnimationValue.js +85 -54
  82. package/lib/util/parseBoxShadowValue.js +84 -0
  83. package/lib/util/parseDependency.js +41 -70
  84. package/lib/util/parseGlob.js +34 -0
  85. package/lib/util/parseObjectStyles.js +30 -24
  86. package/lib/util/pluginUtils.js +252 -287
  87. package/lib/util/prefixSelector.js +20 -20
  88. package/lib/util/removeAlphaVariables.js +29 -0
  89. package/lib/util/resolveConfig.js +221 -256
  90. package/lib/util/resolveConfigPath.js +43 -48
  91. package/lib/util/responsive.js +18 -14
  92. package/lib/util/splitAtTopLevelOnly.js +43 -0
  93. package/lib/util/tap.js +8 -7
  94. package/lib/util/toColorValue.js +7 -6
  95. package/lib/util/toPath.js +27 -8
  96. package/lib/util/transformThemeValue.js +67 -28
  97. package/lib/util/validateConfig.js +24 -0
  98. package/lib/util/validateFormalSyntax.js +24 -0
  99. package/lib/util/withAlphaVariable.js +67 -57
  100. package/nesting/index.js +2 -12
  101. package/package.json +60 -65
  102. package/peers/index.js +76445 -84221
  103. package/plugin.d.ts +11 -0
  104. package/plugin.js +1 -2
  105. package/resolveConfig.d.ts +12 -0
  106. package/resolveConfig.js +2 -7
  107. package/scripts/create-plugin-list.js +2 -2
  108. package/scripts/generate-types.js +105 -0
  109. package/scripts/release-channel.js +18 -0
  110. package/scripts/release-notes.js +21 -0
  111. package/scripts/type-utils.js +27 -0
  112. package/src/cli/build/deps.js +56 -0
  113. package/src/cli/build/index.js +49 -0
  114. package/src/cli/build/plugin.js +439 -0
  115. package/src/cli/build/utils.js +76 -0
  116. package/src/cli/build/watching.js +227 -0
  117. package/src/cli/help/index.js +70 -0
  118. package/src/cli/index.js +3 -0
  119. package/src/cli/init/index.js +50 -0
  120. package/src/cli/shared.js +6 -0
  121. package/src/cli-peer-dependencies.js +7 -1
  122. package/src/cli.js +50 -575
  123. package/src/corePluginList.js +1 -1
  124. package/src/corePlugins.js +2405 -1948
  125. package/src/css/preflight.css +22 -9
  126. package/src/featureFlags.js +26 -10
  127. package/src/index.js +19 -6
  128. package/src/lib/cacheInvalidation.js +52 -0
  129. package/src/lib/collapseAdjacentRules.js +21 -2
  130. package/src/lib/collapseDuplicateDeclarations.js +93 -0
  131. package/src/lib/content.js +212 -0
  132. package/src/lib/defaultExtractor.js +211 -0
  133. package/src/lib/detectNesting.js +39 -0
  134. package/src/lib/evaluateTailwindFunctions.js +84 -10
  135. package/src/lib/expandApplyAtRules.js +508 -153
  136. package/src/lib/expandTailwindAtRules.js +130 -104
  137. package/src/lib/findAtConfigPath.js +48 -0
  138. package/src/lib/generateRules.js +596 -70
  139. package/src/lib/normalizeTailwindDirectives.js +10 -3
  140. package/src/lib/offsets.js +270 -0
  141. package/src/lib/partitionApplyAtRules.js +52 -0
  142. package/src/lib/regex.js +74 -0
  143. package/src/lib/resolveDefaultsAtRules.js +105 -47
  144. package/src/lib/setupContextUtils.js +828 -196
  145. package/src/lib/setupTrackingContext.js +19 -54
  146. package/src/lib/sharedState.js +45 -7
  147. package/src/lib/substituteScreenAtRules.js +6 -3
  148. package/src/postcss-plugins/nesting/README.md +42 -0
  149. package/src/postcss-plugins/nesting/index.js +13 -0
  150. package/src/postcss-plugins/nesting/plugin.js +80 -0
  151. package/src/processTailwindFeatures.js +19 -2
  152. package/src/public/colors.js +300 -0
  153. package/src/public/create-plugin.js +2 -0
  154. package/src/public/default-config.js +4 -0
  155. package/src/public/default-theme.js +4 -0
  156. package/src/public/resolve-config.js +7 -0
  157. package/src/util/buildMediaQuery.js +14 -16
  158. package/src/util/cloneNodes.js +19 -2
  159. package/src/util/color.js +31 -14
  160. package/src/util/createUtilityPlugin.js +2 -11
  161. package/src/util/dataTypes.js +256 -0
  162. package/src/util/defaults.js +6 -0
  163. package/src/util/formatVariantSelector.js +319 -0
  164. package/src/util/getAllConfigs.js +19 -0
  165. package/src/util/isSyntacticallyValidPropertyValue.js +61 -0
  166. package/src/util/log.js +23 -22
  167. package/src/util/nameClass.js +14 -6
  168. package/src/util/negateValue.js +15 -5
  169. package/src/util/normalizeConfig.js +300 -0
  170. package/src/util/normalizeScreens.js +140 -0
  171. package/src/util/parseAnimationValue.js +7 -1
  172. package/src/util/parseBoxShadowValue.js +72 -0
  173. package/src/util/parseDependency.js +37 -38
  174. package/src/util/parseGlob.js +24 -0
  175. package/src/util/pluginUtils.js +216 -197
  176. package/src/util/prefixSelector.js +7 -8
  177. package/src/util/removeAlphaVariables.js +24 -0
  178. package/src/util/resolveConfig.js +86 -91
  179. package/src/util/splitAtTopLevelOnly.js +45 -0
  180. package/src/util/toPath.js +23 -1
  181. package/src/util/transformThemeValue.js +33 -8
  182. package/src/util/validateConfig.js +13 -0
  183. package/src/util/validateFormalSyntax.js +34 -0
  184. package/src/util/withAlphaVariable.js +14 -9
  185. package/stubs/defaultConfig.stub.js +186 -117
  186. package/stubs/simpleConfig.stub.js +1 -1
  187. package/types/config.d.ts +362 -0
  188. package/types/generated/.gitkeep +0 -0
  189. package/types/generated/colors.d.ts +276 -0
  190. package/types/generated/corePluginList.d.ts +1 -0
  191. package/types/generated/default-theme.d.ts +342 -0
  192. package/types/index.d.ts +7 -0
  193. package/lib/lib/setupWatchingContext.js +0 -331
  194. package/nesting/plugin.js +0 -41
  195. package/src/lib/setupWatchingContext.js +0 -306
@@ -0,0 +1,227 @@
1
+ // @ts-check
2
+
3
+ import chokidar from 'chokidar'
4
+ import fs from 'fs'
5
+ import micromatch from 'micromatch'
6
+ import normalizePath from 'normalize-path'
7
+ import path from 'path'
8
+
9
+ import { readFileWithRetries } from './utils.js'
10
+
11
+ /**
12
+ * The core idea of this watcher is:
13
+ * 1. Whenever a file is added, changed, or renamed we queue a rebuild
14
+ * 2. Perform as few rebuilds as possible by batching them together
15
+ * 3. Coalesce events that happen in quick succession to avoid unnecessary rebuilds
16
+ * 4. Ensure another rebuild happens _if_ changed while a rebuild is in progress
17
+ */
18
+
19
+ /**
20
+ *
21
+ * @param {*} args
22
+ * @param {{ state, rebuild(changedFiles: any[]): Promise<any> }} param1
23
+ * @returns {{
24
+ * fswatcher: import('chokidar').FSWatcher,
25
+ * refreshWatchedFiles(): void,
26
+ * }}
27
+ */
28
+ export function createWatcher(args, { state, rebuild }) {
29
+ let shouldPoll = args['--poll']
30
+ let shouldCoalesceWriteEvents = shouldPoll || process.platform === 'win32'
31
+
32
+ // Polling interval in milliseconds
33
+ // Used only when polling or coalescing add/change events on Windows
34
+ let pollInterval = 10
35
+
36
+ let watcher = chokidar.watch([], {
37
+ // Force checking for atomic writes in all situations
38
+ // This causes chokidar to wait up to 100ms for a file to re-added after it's been unlinked
39
+ // This only works when watching directories though
40
+ atomic: true,
41
+
42
+ usePolling: shouldPoll,
43
+ interval: shouldPoll ? pollInterval : undefined,
44
+ ignoreInitial: true,
45
+ awaitWriteFinish: shouldCoalesceWriteEvents
46
+ ? {
47
+ stabilityThreshold: 50,
48
+ pollInterval: pollInterval,
49
+ }
50
+ : false,
51
+ })
52
+
53
+ // A queue of rebuilds, file reads, etc… to run
54
+ let chain = Promise.resolve()
55
+
56
+ /**
57
+ * A list of files that have been changed since the last rebuild
58
+ *
59
+ * @type {{file: string, content: () => Promise<string>, extension: string}[]}
60
+ */
61
+ let changedContent = []
62
+
63
+ /**
64
+ * A list of files for which a rebuild has already been queued.
65
+ * This is used to prevent duplicate rebuilds when multiple events are fired for the same file.
66
+ * The rebuilt file is cleared from this list when it's associated rebuild has _started_
67
+ * This is because if the file is changed during a rebuild it won't trigger a new rebuild which it should
68
+ **/
69
+ let pendingRebuilds = new Set()
70
+
71
+ let _timer
72
+ let _reject
73
+
74
+ /**
75
+ * Rebuilds the changed files and resolves when the rebuild is
76
+ * complete regardless of whether it was successful or not
77
+ */
78
+ async function rebuildAndContinue() {
79
+ let changes = changedContent.splice(0)
80
+
81
+ // There are no changes to rebuild so we can just do nothing
82
+ if (changes.length === 0) {
83
+ return Promise.resolve()
84
+ }
85
+
86
+ // Clear all pending rebuilds for the about-to-be-built files
87
+ changes.forEach((change) => pendingRebuilds.delete(change.file))
88
+
89
+ // Resolve the promise even when the rebuild fails
90
+ return rebuild(changes).then(
91
+ () => {},
92
+ () => {}
93
+ )
94
+ }
95
+
96
+ /**
97
+ *
98
+ * @param {*} file
99
+ * @param {(() => Promise<string>) | null} content
100
+ * @param {boolean} skipPendingCheck
101
+ * @returns {Promise<void>}
102
+ */
103
+ function recordChangedFile(file, content = null, skipPendingCheck = false) {
104
+ file = path.resolve(file)
105
+
106
+ // Applications like Vim/Neovim fire both rename and change events in succession for atomic writes
107
+ // In that case rebuild has already been queued by rename, so can be skipped in change
108
+ if (pendingRebuilds.has(file) && !skipPendingCheck) {
109
+ return Promise.resolve()
110
+ }
111
+
112
+ // Mark that a rebuild of this file is going to happen
113
+ // It MUST happen synchronously before the rebuild is queued for this to be effective
114
+ pendingRebuilds.add(file)
115
+
116
+ changedContent.push({
117
+ file,
118
+ content: content ?? (() => fs.promises.readFile(file, 'utf8')),
119
+ extension: path.extname(file).slice(1),
120
+ })
121
+
122
+ if (_timer) {
123
+ clearTimeout(_timer)
124
+ _reject()
125
+ }
126
+
127
+ // If a rebuild is already in progress we don't want to start another one until the 10ms timer has expired
128
+ chain = chain.then(
129
+ () =>
130
+ new Promise((resolve, reject) => {
131
+ _timer = setTimeout(resolve, 10)
132
+ _reject = reject
133
+ })
134
+ )
135
+
136
+ // Resolves once this file has been rebuilt (or the rebuild for this file has failed)
137
+ // This queues as many rebuilds as there are changed files
138
+ // But those rebuilds happen after some delay
139
+ // And will immediately resolve if there are no changes
140
+ chain = chain.then(rebuildAndContinue, rebuildAndContinue)
141
+
142
+ return chain
143
+ }
144
+
145
+ watcher.on('change', (file) => recordChangedFile(file))
146
+ watcher.on('add', (file) => recordChangedFile(file))
147
+
148
+ // Restore watching any files that are "removed"
149
+ // This can happen when a file is pseudo-atomically replaced (a copy is created, overwritten, the old one is unlinked, and the new one is renamed)
150
+ // TODO: An an optimization we should allow removal when the config changes
151
+ watcher.on('unlink', (file) => {
152
+ file = normalizePath(file)
153
+
154
+ // Only re-add the file if it's not covered by a dynamic pattern
155
+ if (!micromatch.some([file], state.contentPatterns.dynamic)) {
156
+ watcher.add(file)
157
+ }
158
+ })
159
+
160
+ // Some applications such as Visual Studio (but not VS Code)
161
+ // will only fire a rename event for atomic writes and not a change event
162
+ // This is very likely a chokidar bug but it's one we need to work around
163
+ // We treat this as a change event and rebuild the CSS
164
+ watcher.on('raw', (evt, filePath, meta) => {
165
+ if (evt !== 'rename') {
166
+ return
167
+ }
168
+
169
+ let watchedPath = meta.watchedPath
170
+
171
+ // Watched path might be the file itself
172
+ // Or the directory it is in
173
+ filePath = watchedPath.endsWith(filePath) ? watchedPath : path.join(watchedPath, filePath)
174
+
175
+ // Skip this event since the files it is for does not match any of the registered content globs
176
+ if (!micromatch.some([filePath], state.contentPatterns.all)) {
177
+ return
178
+ }
179
+
180
+ // Skip since we've already queued a rebuild for this file that hasn't happened yet
181
+ if (pendingRebuilds.has(filePath)) {
182
+ return
183
+ }
184
+
185
+ // We'll go ahead and add the file to the pending rebuilds list here
186
+ // It'll be removed when the rebuild starts unless the read fails
187
+ // which will be taken care of as well
188
+ pendingRebuilds.add(filePath)
189
+
190
+ async function enqueue() {
191
+ try {
192
+ // We need to read the file as early as possible outside of the chain
193
+ // because it may be gone by the time we get to it. doing the read
194
+ // immediately increases the chance that the file is still there
195
+ let content = await readFileWithRetries(path.resolve(filePath))
196
+
197
+ if (content === undefined) {
198
+ return
199
+ }
200
+
201
+ // This will push the rebuild onto the chain
202
+ // We MUST skip the rebuild check here otherwise the rebuild will never happen on Linux
203
+ // This is because the order of events and timing is different on Linux
204
+ // @ts-ignore: TypeScript isn't picking up that content is a string here
205
+ await recordChangedFile(filePath, () => content, true)
206
+ } catch {
207
+ // If reading the file fails, it's was probably a deleted temporary file
208
+ // So we can ignore it and no rebuild is needed
209
+ }
210
+ }
211
+
212
+ enqueue().then(() => {
213
+ // If the file read fails we still need to make sure the file isn't stuck in the pending rebuilds list
214
+ pendingRebuilds.delete(filePath)
215
+ })
216
+ })
217
+
218
+ return {
219
+ fswatcher: watcher,
220
+
221
+ refreshWatchedFiles() {
222
+ watcher.add(Array.from(state.contextDependencies))
223
+ watcher.add(Array.from(state.configDependencies))
224
+ watcher.add(state.contentPatterns.all)
225
+ },
226
+ }
227
+ }
@@ -0,0 +1,70 @@
1
+ // @ts-check
2
+ import packageJson from '../../../package.json'
3
+
4
+ export function help({ message, usage, commands, options }) {
5
+ let indent = 2
6
+
7
+ // Render header
8
+ console.log()
9
+ console.log(`${packageJson.name} v${packageJson.version}`)
10
+
11
+ // Render message
12
+ if (message) {
13
+ console.log()
14
+ for (let msg of message.split('\n')) {
15
+ console.log(msg)
16
+ }
17
+ }
18
+
19
+ // Render usage
20
+ if (usage && usage.length > 0) {
21
+ console.log()
22
+ console.log('Usage:')
23
+ for (let example of usage) {
24
+ console.log(' '.repeat(indent), example)
25
+ }
26
+ }
27
+
28
+ // Render commands
29
+ if (commands && commands.length > 0) {
30
+ console.log()
31
+ console.log('Commands:')
32
+ for (let command of commands) {
33
+ console.log(' '.repeat(indent), command)
34
+ }
35
+ }
36
+
37
+ // Render options
38
+ if (options) {
39
+ let groupedOptions = {}
40
+ for (let [key, value] of Object.entries(options)) {
41
+ if (typeof value === 'object') {
42
+ groupedOptions[key] = { ...value, flags: [key] }
43
+ } else {
44
+ groupedOptions[value].flags.push(key)
45
+ }
46
+ }
47
+
48
+ console.log()
49
+ console.log('Options:')
50
+ for (let { flags, description, deprecated } of Object.values(groupedOptions)) {
51
+ if (deprecated) continue
52
+
53
+ if (flags.length === 1) {
54
+ console.log(
55
+ ' '.repeat(indent + 4 /* 4 = "-i, ".length */),
56
+ flags.slice().reverse().join(', ').padEnd(20, ' '),
57
+ description
58
+ )
59
+ } else {
60
+ console.log(
61
+ ' '.repeat(indent),
62
+ flags.slice().reverse().join(', ').padEnd(24, ' '),
63
+ description
64
+ )
65
+ }
66
+ }
67
+ }
68
+
69
+ console.log()
70
+ }
@@ -0,0 +1,3 @@
1
+ export * from './build'
2
+ export * from './config'
3
+ export * from './content'
@@ -0,0 +1,50 @@
1
+ // @ts-check
2
+
3
+ import fs from 'fs'
4
+ import path from 'path'
5
+
6
+ export function init(args, configs) {
7
+ let messages = []
8
+
9
+ let tailwindConfigLocation = path.resolve(args['_'][1] ?? `./${configs.tailwind}`)
10
+ if (fs.existsSync(tailwindConfigLocation)) {
11
+ messages.push(`${path.basename(tailwindConfigLocation)} already exists.`)
12
+ } else {
13
+ let stubFile = fs.readFileSync(
14
+ args['--full']
15
+ ? path.resolve(__dirname, '../../../stubs/defaultConfig.stub.js')
16
+ : path.resolve(__dirname, '../../../stubs/simpleConfig.stub.js'),
17
+ 'utf8'
18
+ )
19
+
20
+ // Change colors import
21
+ stubFile = stubFile.replace('../colors', 'tailwindcss/colors')
22
+
23
+ fs.writeFileSync(tailwindConfigLocation, stubFile, 'utf8')
24
+
25
+ messages.push(`Created Tailwind CSS config file: ${path.basename(tailwindConfigLocation)}`)
26
+ }
27
+
28
+ if (args['--postcss']) {
29
+ let postcssConfigLocation = path.resolve(`./${configs.postcss}`)
30
+ if (fs.existsSync(postcssConfigLocation)) {
31
+ messages.push(`${path.basename(postcssConfigLocation)} already exists.`)
32
+ } else {
33
+ let stubFile = fs.readFileSync(
34
+ path.resolve(__dirname, '../../../stubs/defaultPostCssConfig.stub.js'),
35
+ 'utf8'
36
+ )
37
+
38
+ fs.writeFileSync(postcssConfigLocation, stubFile, 'utf8')
39
+
40
+ messages.push(`Created PostCSS config file: ${path.basename(postcssConfigLocation)}`)
41
+ }
42
+ }
43
+
44
+ if (messages.length > 0) {
45
+ console.log()
46
+ for (let message of messages) {
47
+ console.log(message)
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,6 @@
1
+ // @ts-check
2
+
3
+ export const env = {
4
+ DEBUG: process.env.DEBUG !== undefined && process.env.DEBUG !== '0',
5
+ OXIDE: process.env.OXIDE,
6
+ }
@@ -1,4 +1,10 @@
1
- export let postcss = require('postcss')
1
+ export function lazyPostcss() {
2
+ return require('postcss')
3
+ }
4
+
5
+ export function lazyPostcssImport() {
6
+ return require('postcss-import')
7
+ }
2
8
 
3
9
  export function lazyAutoprefixer() {
4
10
  return require('autoprefixer')