+3
-2
| { | ||
| "name": "c3-pack", | ||
| "version": "0.5.1", | ||
| "version": "0.5.3", | ||
| "description": "ccc pc pack", | ||
@@ -28,2 +28,3 @@ "bin": { | ||
| "cross-env": "^5.2.0", | ||
| "css-hot-loader": "^1.4.2", | ||
| "css-loader": "^1.0.0", | ||
@@ -52,3 +53,3 @@ "cssnano": "^4.1.4", | ||
| "readme": "ERROR: No README data found!", | ||
| "_id": "c3-pack@0.5.0" | ||
| "_id": "c3-pack@0.5.2" | ||
| } |
@@ -6,3 +6,2 @@ /* eslint-disable */ | ||
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
| const autoprefixer = require('autoprefixer'); | ||
| const HappyPack = require('happypack'); | ||
@@ -23,5 +22,4 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||
| entry: [ | ||
| // `webpack-dev-server/client?${config.url}`, | ||
| // 'webpack/hot/dev-server', | ||
| require.resolve('react-dev-utils/webpackHotDevClient'), | ||
| `webpack-dev-server/client?${config.url}`, | ||
| 'webpack/hot/dev-server', | ||
| path.resolve(DEV_PATH, 'index.js'), | ||
@@ -57,2 +55,3 @@ ], | ||
| use: [ | ||
| 'css-hot-loader', | ||
| MiniCssExtractPlugin.loader, | ||
@@ -65,2 +64,3 @@ 'happypack/loader?id=css', | ||
| use: [ | ||
| 'css-hot-loader', | ||
| MiniCssExtractPlugin.loader, | ||
@@ -67,0 +67,0 @@ 'happypack/loader?id=less', |
@@ -8,3 +8,2 @@ /* eslint-disable */ | ||
| const CleanWebpackPlugin = require('clean-webpack-plugin'); | ||
| const autoprefixer = require('autoprefixer'); | ||
| const HappyPack = require('happypack'); | ||
@@ -21,4 +20,3 @@ const SizePlugin = require('size-plugin'); | ||
| const osThreadSize = os.cpus().length; | ||
| const happyThreadPool = HappyPack.ThreadPool({ size: osThreadSize > 4 ? osThreadSize : 4 }); | ||
| // const happyThreadPool = HappyPack.ThreadPool({ size: 4 }); | ||
| const happyThreadPool = HappyPack.ThreadPool({ size: osThreadSize }); | ||
@@ -25,0 +23,0 @@ function hasNoSideEffects(moduleName) { |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
18412
-0.82%30
3.45%592
-0.34%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added