wirejs-scripts 3.0.21 → 3.0.23

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/bin.js CHANGED
@@ -446,7 +446,7 @@ async function compile(watch = false) {
446
446
  logger.error(err);
447
447
  reject(err);
448
448
  } else {
449
- logger.error('webpack compiler succeeded');
449
+ logger.info('webpack compiler succeeded');
450
450
  resolve(res);
451
451
  }
452
452
  });
@@ -477,13 +477,8 @@ const engine = {
477
477
  await fs.promises.mkdir('pre-dist');
478
478
  logger.log('recreated pre-dist folder');
479
479
 
480
- try {
481
- await compile(watch);
482
- logger.log('finished compile');
483
- } catch (err) {
484
- logger.error(err);
485
- }
486
- logger.log('build finished')
480
+ await compile(watch);
481
+ logger.log('finished compile');
487
482
  },
488
483
 
489
484
  async start() {
@@ -75,7 +75,7 @@ export default (env, argv) => {
75
75
  // which match with `exports: { path: { condition: "" } }` in package.json
76
76
  // for different build types for API's, SSR, etc.
77
77
  resolve: {
78
- conditionNames: ['wirejs:client'],
78
+ conditionNames: ['wirejs:client', 'import', 'require', 'node', 'default'],
79
79
  },
80
80
  watchOptions: {
81
81
  ignored: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-scripts",
3
- "version": "3.0.21",
3
+ "version": "3.0.23",
4
4
  "description": "Basic build and start commands for wirejs apps",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,6 +34,6 @@
34
34
  "style-loader": "^2.0.0",
35
35
  "webpack": "^5.97.1",
36
36
  "wirejs-dom": "^1.0.38",
37
- "wirejs-resources": "^0.1.23"
37
+ "wirejs-resources": "^0.1.25"
38
38
  }
39
39
  }