@konomi-app/k2 0.10.1 → 0.10.2

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.
@@ -30,7 +30,7 @@ export async function action(options) {
30
30
  console.log(`⚙ ${CONFIG_FILE_NAME} not found. use default settings.`);
31
31
  }
32
32
  const port = Number(specifiedPort ?? k2Config?.server?.port ?? DEFAULT_PORT);
33
- await Promise.all([build({ certdir, outdir, port, input }), watchCss(k2Config?.plugin ?? {})]);
33
+ await Promise.all([build({ certdir, outdir, port, input }), watchCss(k2Config ?? {})]);
34
34
  }
35
35
  catch (error) {
36
36
  throw error;
@@ -21,6 +21,7 @@ async function buildTailwindCSS(params) {
21
21
  }
22
22
  export const watchCss = async (k2Config) => {
23
23
  if (!k2Config.tailwind?.css || !k2Config.tailwind?.config) {
24
+ console.log('🚫 missing tailwind config. Skip watching css.');
24
25
  return;
25
26
  }
26
27
  const tailwindConfig = await getTailwindConfigFromK2Config(k2Config.tailwind);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konomi-app/k2",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "kintone sdk",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",