@rokkit/cli 1.1.15 → 1.1.16
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.
- package/package.json +2 -2
- package/src/init.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokkit/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.16",
|
|
4
4
|
"description": "Command line utilities for icon bundling and conversion.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@mdi/svg": "^7.4.47",
|
|
30
|
-
"@rokkit/unocss": "1.1.
|
|
30
|
+
"@rokkit/unocss": "1.1.16",
|
|
31
31
|
"sade": "^1.8.1",
|
|
32
32
|
"@iconify/tools": "5.0.3",
|
|
33
33
|
"@iconify/types": "^2.0.0",
|
package/src/init.js
CHANGED
|
@@ -312,11 +312,12 @@ export function generateConfig({
|
|
|
312
312
|
* @returns {string}
|
|
313
313
|
*/
|
|
314
314
|
export function generateUnoConfig() {
|
|
315
|
-
return `import { defineConfig } from 'unocss'
|
|
315
|
+
return `import { defineConfig, transformerDirectives } from 'unocss'
|
|
316
316
|
import { presetRokkit } from '@rokkit/unocss'
|
|
317
317
|
import config from './rokkit.config.js'
|
|
318
318
|
|
|
319
319
|
export default defineConfig({
|
|
320
|
+
transformers: [transformerDirectives()],
|
|
320
321
|
presets: [presetRokkit(config)]
|
|
321
322
|
})
|
|
322
323
|
`
|