project-path-feat #7
@@ -21,11 +21,6 @@ export const BLOCK_NAME = process.env.BLOCK_NAME;
|
||||
process.env.NODE_CONFIG_DIR = path.join(getProjectPath(), 'config');
|
||||
|
||||
|
||||
/**
|
||||
* Private functions.
|
||||
* Don't export these, export constants.
|
||||
*/
|
||||
|
||||
export function getModulePath() {
|
||||
let modulePath = 'node_modules/block-dev-tool';
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* FUTURE TESTS.
|
||||
*
|
||||
* # ENV
|
||||
* In `blocks-builder` service, we update MODULE_PATH and PROJECT_PATH environment variables before we run platform
|
||||
* bundle build process. Actually before we call buildExportFiles().
|
||||
*
|
||||
* We have to make sure that this logic is working properly and stable.
|
||||
*
|
||||
*/
|
||||
Reference in New Issue
Block a user