|
|
@ -12,7 +12,6 @@ module.exports = (env) => {
|
|
|
|
const srcFolder = path.join(frontendFolder, 'src');
|
|
|
|
const srcFolder = path.join(frontendFolder, 'src');
|
|
|
|
const isProduction = !!env.production;
|
|
|
|
const isProduction = !!env.production;
|
|
|
|
const isProfiling = isProduction && !!env.profile;
|
|
|
|
const isProfiling = isProduction && !!env.profile;
|
|
|
|
const inlineWebWorkers = 'no-fallback';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const distFolder = path.resolve(frontendFolder, '..', '_output', uiFolder);
|
|
|
|
const distFolder = path.resolve(frontendFolder, '..', '_output', uiFolder);
|
|
|
|
|
|
|
|
|
|
|
@ -141,16 +140,6 @@ module.exports = (env) => {
|
|
|
|
|
|
|
|
|
|
|
|
module: {
|
|
|
|
module: {
|
|
|
|
rules: [
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
|
|
|
|
test: /\.worker\.js$/,
|
|
|
|
|
|
|
|
use: {
|
|
|
|
|
|
|
|
loader: 'worker-loader',
|
|
|
|
|
|
|
|
options: {
|
|
|
|
|
|
|
|
filename: '[name].js',
|
|
|
|
|
|
|
|
inline: inlineWebWorkers
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
test: /\.js?$/,
|
|
|
|
test: /\.js?$/,
|
|
|
|
exclude: /(node_modules|JsLibraries)/,
|
|
|
|
exclude: /(node_modules|JsLibraries)/,
|
|
|
|