@konomi-app/k2 1.5.1 → 1.6.1
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.
|
@@ -23,7 +23,7 @@ export const watchCss = async (params) => {
|
|
|
23
23
|
console.log(chalk.hex('#e5e7eb')(`${new Date().toLocaleTimeString()} `) +
|
|
24
24
|
chalk.cyan(`[css] `) +
|
|
25
25
|
outputFileName +
|
|
26
|
-
(type === 'init' ? ' init' : ` rebuilt`));
|
|
26
|
+
(type === 'init' ? ' init' : ` rebuilt(${type})`));
|
|
27
27
|
},
|
|
28
28
|
});
|
|
29
29
|
};
|
package/dist/lib/tailwind.js
CHANGED
|
@@ -46,6 +46,10 @@ export const outputCss = async (params) => {
|
|
|
46
46
|
};
|
|
47
47
|
export const watchTailwindCSS = async (params) => {
|
|
48
48
|
const { input, output, config } = params;
|
|
49
|
+
const content = config.content;
|
|
50
|
+
if (!content) {
|
|
51
|
+
console.warn(`No content is provided in tailwind config. use default content: ['./src/**/*.{ts,tsx}'] and ${input}`);
|
|
52
|
+
}
|
|
49
53
|
const watcher = chokidar.watch([...(config.content ?? ['./src/**/*.{ts,tsx}']), input], {
|
|
50
54
|
ignored: /node_modules/,
|
|
51
55
|
persistent: true,
|
package/package.json
CHANGED
package/types/plugin.d.ts
CHANGED
|
@@ -93,6 +93,12 @@ declare namespace Plugin {
|
|
|
93
93
|
standalone?: Partial<Manifest>;
|
|
94
94
|
};
|
|
95
95
|
pluginReleasePageUrl?: string;
|
|
96
|
+
/**
|
|
97
|
+
* プラグインのZIPファイルのURL
|
|
98
|
+
*
|
|
99
|
+
* このURLが設定されている場合、ユーザーはプラグイン設定画面から、ZIPファイルをダウンロードしてインストールできます
|
|
100
|
+
*/
|
|
101
|
+
zipFileUrl?: string;
|
|
96
102
|
inquiriesPageUrl?: string;
|
|
97
103
|
promotionPageUrl?: string;
|
|
98
104
|
bannerPageUrl?: string;
|