tailwindcss 0.0.0-oxide-insiders.0c9b3f9 → 0.0.0-oxide-insiders.52ca21b

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.
@@ -43,6 +43,9 @@ async function build(args, configs) {
43
43
  process.stdin.resume();
44
44
  await processor.watch();
45
45
  } else {
46
- await processor.build();
46
+ await processor.build().catch((e)=>{
47
+ console.error(e);
48
+ process.exit(1);
49
+ });
47
50
  }
48
51
  }
@@ -326,7 +326,11 @@ async function createProcessor(args, cliConfigPath) {
326
326
  // If you fix it and then save the main CSS file so there's no error
327
327
  // The watcher will start watching the imported CSS files and will be
328
328
  // resilient to future errors.
329
- console.error(err);
329
+ if (state.watcher) {
330
+ console.error(err);
331
+ } else {
332
+ return Promise.reject(err);
333
+ }
330
334
  });
331
335
  }
332
336
  /**
@@ -42,6 +42,9 @@ async function build(args, configs) {
42
42
  process.stdin.resume();
43
43
  await processor.watch();
44
44
  } else {
45
- await processor.build();
45
+ await processor.build().catch((e)=>{
46
+ console.error(e);
47
+ process.exit(1);
48
+ });
46
49
  }
47
50
  }
@@ -323,7 +323,11 @@ async function createProcessor(args, cliConfigPath) {
323
323
  // If you fix it and then save the main CSS file so there's no error
324
324
  // The watcher will start watching the imported CSS files and will be
325
325
  // resilient to future errors.
326
- console.error(err);
326
+ if (state.watcher) {
327
+ console.error(err);
328
+ } else {
329
+ return Promise.reject(err);
330
+ }
327
331
  });
328
332
  }
329
333
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "0.0.0-oxide-insiders.0c9b3f9",
3
+ "version": "0.0.0-oxide-insiders.52ca21b",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -70,7 +70,7 @@
70
70
  "postcss": "^8.0.9"
71
71
  },
72
72
  "dependencies": {
73
- "@tailwindcss/oxide": "0.0.0-oxide-insiders.0c9b3f9",
73
+ "@tailwindcss/oxide": "0.0.0-oxide-insiders.52ca21b",
74
74
  "arg": "^5.0.2",
75
75
  "browserslist": "^4.21.5",
76
76
  "chokidar": "^3.5.3",
@@ -44,6 +44,9 @@ export async function build(args, configs) {
44
44
 
45
45
  await processor.watch()
46
46
  } else {
47
- await processor.build()
47
+ await processor.build().catch((e) => {
48
+ console.error(e)
49
+ process.exit(1)
50
+ })
48
51
  }
49
52
  }
@@ -383,7 +383,11 @@ export async function createProcessor(args, cliConfigPath) {
383
383
  // The watcher will start watching the imported CSS files and will be
384
384
  // resilient to future errors.
385
385
 
386
- console.error(err)
386
+ if (state.watcher) {
387
+ console.error(err)
388
+ } else {
389
+ return Promise.reject(err)
390
+ }
387
391
  }
388
392
  )
389
393
  }
@@ -42,6 +42,9 @@ export async function build(args, configs) {
42
42
 
43
43
  await processor.watch()
44
44
  } else {
45
- await processor.build()
45
+ await processor.build().catch((e) => {
46
+ console.error(e)
47
+ process.exit(1)
48
+ })
46
49
  }
47
50
  }
@@ -380,7 +380,11 @@ export async function createProcessor(args, cliConfigPath) {
380
380
  // The watcher will start watching the imported CSS files and will be
381
381
  // resilient to future errors.
382
382
 
383
- console.error(err)
383
+ if (state.watcher) {
384
+ console.error(err)
385
+ } else {
386
+ return Promise.reject(err)
387
+ }
384
388
  }
385
389
  )
386
390
  }