Using a relative webpack public path again
parent
1996878f12
commit
e073890849
|
@ -1,3 +1,6 @@
|
|||
// @ts-ignore
|
||||
__webpack_public_path__ = './';
|
||||
|
||||
declare function postMessage(message: any): void;
|
||||
|
||||
const prefix = "[POWWorker] ";
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// @ts-ignore
|
||||
__webpack_public_path__ = './';
|
||||
|
||||
import {WorkerHandler} from "tc-shared/workers/WorkerHandler";
|
||||
import {
|
||||
AWCommand,
|
||||
|
|
|
@ -240,7 +240,7 @@ export const config = async (target: "web" | "client"): Promise<Configuration> =
|
|||
filename: isDevelopment ? "[name].[contenthash].js" : "[contenthash].js",
|
||||
chunkFilename: isDevelopment ? "[name].[contenthash].js" : "[contenthash].js",
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
publicPath: "/js/"
|
||||
publicPath: "js/"
|
||||
},
|
||||
performance: {
|
||||
hints: false
|
||||
|
|
Loading…
Reference in New Issue