kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
FE_BASE_PATH: set output directory
rodzic
a9b757f6a5
commit
66b67440fe
|
@ -1,6 +1,8 @@
|
||||||
const { join } = require('path');
|
const { join } = require('path');
|
||||||
const { env } = require('process');
|
const { env } = require('process');
|
||||||
|
|
||||||
|
const { FE_BASE_PATH } = require(join(__dirname, '..', 'app', 'soapbox', 'build_config'));
|
||||||
|
|
||||||
const settings = {
|
const settings = {
|
||||||
source_path: 'app',
|
source_path: 'app',
|
||||||
public_root_path: 'static',
|
public_root_path: 'static',
|
||||||
|
@ -14,7 +16,7 @@ const settings = {
|
||||||
const outputDir = env.NODE_ENV === 'test' ? settings.test_root_path : settings.public_root_path;
|
const outputDir = env.NODE_ENV === 'test' ? settings.test_root_path : settings.public_root_path;
|
||||||
|
|
||||||
const output = {
|
const output = {
|
||||||
path: join(__dirname, '..', outputDir),
|
path: join(__dirname, '..', outputDir, FE_BASE_PATH),
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
Ładowanie…
Reference in New Issue