From 3ae18a1e29a2ceecce837db6a801eca7012e6e42 Mon Sep 17 00:00:00 2001 From: guoxianzhe <53285945+guoxianzhe@users.noreply.github.com> Date: Thu, 19 Oct 2023 10:24:25 +0800 Subject: [PATCH] feat: set publicPath to '' (#8) --- package.json | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 299d8d4..0f4f6de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agora-rtc-sdk-ng-fake", - "version": "1.0.1", + "version": "1.0.2", "private": true, "description": "Fake Agora Web RTC for testing", "repository": { diff --git a/webpack.config.js b/webpack.config.js index ad15a6d..2927eeb 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,6 +10,7 @@ const environment = process.env.NODE_ENV; let config = { entry: "./src/index.ts", output: { + publicPath: "", path: path.resolve(__dirname, "dist"), libraryTarget: "umd", library: {