@digest/webpack-express 4.0.4 → 4.0.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/dist/util/webpack.js +2 -1
- package/package.json +4 -4
package/dist/util/webpack.js
CHANGED
|
@@ -3,10 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const scripts_1 = require("@digest/scripts");
|
|
6
7
|
const webpack_1 = __importDefault(require("webpack"));
|
|
7
8
|
const webpack = (dashboard = false) => {
|
|
8
9
|
var _a;
|
|
9
|
-
const config = require(
|
|
10
|
+
const config = require(scripts_1.config.webpack);
|
|
10
11
|
if (dashboard) {
|
|
11
12
|
const DashboardPlugin = require('webpack-dashboard/plugin');
|
|
12
13
|
(_a = config.plugins) === null || _a === void 0 ? void 0 : _a.concat(new DashboardPlugin());
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@digest/webpack-express",
|
|
3
3
|
"title": "Express Webpack Middleware Digest",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "4.0.
|
|
5
|
+
"version": "4.0.6",
|
|
6
6
|
"description": "Digested Express Webpack middleware configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"clean": "rimraf node_modules dist package-lock.json npm-debug.log"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@digest/express": "^4.0.
|
|
49
|
-
"@digest/scripts": "^4.0.
|
|
50
|
-
"@digest/webpack": "^4.0.
|
|
48
|
+
"@digest/express": "^4.0.6",
|
|
49
|
+
"@digest/scripts": "^4.0.6",
|
|
50
|
+
"@digest/webpack": "^4.0.6",
|
|
51
51
|
"webpack-dev-middleware": "^5.3.3",
|
|
52
52
|
"webpack-hot-middleware": "^2.25.2"
|
|
53
53
|
},
|