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