From b84a00c7409b96c4fd0cd34868048d5e576a7f34 Mon Sep 17 00:00:00 2001 From: Lewis Peel Date: Mon, 2 Nov 2020 13:12:11 +0000 Subject: [PATCH] use LNG_BUILD_FOLDER environment variable --- src/configs/rollup.es5.config.js | 4 ++-- src/configs/rollup.es6.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/configs/rollup.es5.config.js b/src/configs/rollup.es5.config.js index 67f1606d..24f320b6 100644 --- a/src/configs/rollup.es5.config.js +++ b/src/configs/rollup.es5.config.js @@ -39,8 +39,8 @@ module.exports = { plugins: [ json(), url({ - limit: 1, - destDir: 'build/static', + limit: 0, + destDir: (process.env.LNG_BUILD_FOLDER || 'build') + '/static', publicPath: 'static/', }), inject({ diff --git a/src/configs/rollup.es6.config.js b/src/configs/rollup.es6.config.js index e98c3952..e7744b0f 100644 --- a/src/configs/rollup.es6.config.js +++ b/src/configs/rollup.es6.config.js @@ -35,8 +35,8 @@ module.exports = { plugins: [ json(), url({ - limit: 1, - destDir: 'build/static', + limit: 0, + destDir: (process.env.LNG_BUILD_FOLDER || 'build') + '/static', publicPath: 'static/', }), inject({