Skip to content

Commit e89fffb

Browse files
committed
Remove unnecessary array destructuring
1 parent 4751840 commit e89fffb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/substituteTailwindAtRules.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ export default function(config) {
5454

5555
if (atRule.params === 'components') {
5656
const tailwindComponentTree = postcss.root({
57-
nodes: [...container(unwrappedConfig)],
57+
nodes: container(unwrappedConfig),
5858
})
5959

6060
const pluginComponentTree = postcss.root({
61-
nodes: [...pluginComponents],
61+
nodes: pluginComponents,
6262
})
6363

6464
applyClassPrefix(tailwindComponentTree, unwrappedConfig.options.prefix)
@@ -79,11 +79,11 @@ export default function(config) {
7979
}
8080

8181
const tailwindUtilityTree = postcss.root({
82-
nodes: [...utilities.nodes],
82+
nodes: utilities.nodes,
8383
})
8484

8585
const pluginUtilityTree = postcss.root({
86-
nodes: [...pluginUtilities],
86+
nodes: pluginUtilities,
8787
})
8888

8989
applyClassPrefix(tailwindUtilityTree, unwrappedConfig.options.prefix)

0 commit comments

Comments
 (0)