@rspack/dev-server 0.0.3 → 0.0.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # rspack-dev-server
2
2
 
3
+ ## 0.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - d466288: add process_assets hook
8
+
3
9
  ## 0.0.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rspack/dev-server",
3
3
  "description": "",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "",
@@ -20,5 +20,6 @@
20
20
  "build": "rm -rf dist/ && tsc -p tsconfig.json",
21
21
  "dev": "tsc -p tsconfig.json -w",
22
22
  "test": "echo \"Error: no test specified\" && exit 1"
23
- }
23
+ },
24
+ "readme": "# rspack-dev-server\n"
24
25
  }
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./server";
package/dist/index.js DELETED
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./server"), exports);
@@ -1,2 +0,0 @@
1
- import express from "express";
2
- export declare function createServer(options: any): Promise<express.Express>;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.createServer = void 0;
7
- const express_1 = __importDefault(require("express"));
8
- async function createServer(options) {
9
- const { dev: { static: { directory = "dist" } = {} } = {} } = options || {};
10
- const app = (0, express_1.default)();
11
- app.use(express_1.default.static(directory));
12
- return app;
13
- }
14
- exports.createServer = createServer;