@startupjs/bundler 0.40.2 → 0.40.6

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": "@startupjs/bundler",
3
- "version": "0.40.2",
3
+ "version": "0.40.6",
4
4
  "description": "Opinionated scripts and configs to develop a react-native-web project",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -25,7 +25,7 @@
25
25
  "assets-webpack-plugin": "^7.1.1",
26
26
  "autoprefixer": "^10.4.0",
27
27
  "babel-loader": "^8.2.3",
28
- "babel-preset-startupjs": "^0.40.2",
28
+ "babel-preset-startupjs": "^0.40.6",
29
29
  "css-loader": "^6.5.0",
30
30
  "css-minimizer-webpack-plugin": "^3.1.1",
31
31
  "file-loader": "^6.2.0",
@@ -49,5 +49,5 @@
49
49
  "peerDependencies": {
50
50
  "react-native-svg": ">= 12.1.0"
51
51
  },
52
- "gitHead": "7f3672373558669596263230c8b32a5174c6890b"
52
+ "gitHead": "a2c393f4d922498374151663530fb689c8d9c4d6"
53
53
  }
@@ -2,7 +2,6 @@ const { getPluginConfigs } = require('@startupjs/plugin/manager.cjs')
2
2
  const pickBy = require('lodash/pickBy')
3
3
  const path = require('path')
4
4
  const nodeExternals = require('webpack-node-externals')
5
- const webpack = require('webpack')
6
5
  const PROD = !process.env.WEBPACK_DEV
7
6
  const BUILD_DIR = '/build/'
8
7
  const BUILD_PATH = path.join(process.cwd(), BUILD_DIR)
@@ -44,7 +43,9 @@ module.exports = function getConfig (env, {
44
43
  server: ['@babel/polyfill', './server.js']
45
44
  },
46
45
  plugins: [
47
- new webpack.ProgressPlugin()
46
+ // TODO: Reenable progress plugin if the following issue gets fixed:
47
+ // https://github.com/open-cli-tools/concurrently/issues/85
48
+ // new webpack.ProgressPlugin()
48
49
  ],
49
50
  output: {
50
51
  path: BUILD_PATH,
@@ -155,7 +155,9 @@ module.exports = function getConfig (env, {
155
155
  }
156
156
  }, Boolean),
157
157
  plugins: [
158
- new webpack.ProgressPlugin(),
158
+ // TODO: Reenable progress plugin if the following issue gets fixed:
159
+ // https://github.com/open-cli-tools/concurrently/issues/85
160
+ // new webpack.ProgressPlugin(),
159
161
  new MomentLocalesPlugin(), // strip all locales except 'en'
160
162
  !PROD && new ReactRefreshWebpackPlugin({ forceEnable: true, overlay: { sockPort: DEV_PORT } }),
161
163
  PROD && new MiniCssExtractPlugin({