@s-ui/bundler 8.0.0-beta.11 → 8.0.0-beta.12

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s-ui/bundler",
3
- "version": "8.0.0-beta.11",
3
+ "version": "8.0.0-beta.12",
4
4
  "description": "Config-free bundler for ES6 React apps.",
5
5
  "bin": {
6
6
  "sui-bundler": "./bin/sui-bundler.js"
@@ -16,6 +16,8 @@ const EXCLUDED_FOLDERS_REGEXP = new RegExp(
16
16
  )
17
17
  const outputPath = path.join(process.cwd(), 'dist')
18
18
 
19
+ const {CI = false} = process.env
20
+
19
21
  process.env.NODE_ENV = 'development'
20
22
 
21
23
  const smp = new SpeedMeasurePlugin()
@@ -116,7 +118,7 @@ const webpackConfig = {
116
118
  )
117
119
  ])
118
120
  },
119
- watch: true,
121
+ watch: !CI,
120
122
  devtool:
121
123
  config.sourcemaps && config.sourcemaps.dev ? config.sourcemaps.dev : false
122
124
  }