We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dce108 commit 1e14aabCopy full SHA for 1e14aab
packages/beidou-cli/lib/commands/build.js
@@ -35,6 +35,10 @@ module.exports = class BuildCMD extends Command {
35
path.join(__dirname, '../../../beidou-webpack/bin/build.js'),
36
() => require.resolve('beidou-webpack/bin/build'),
37
];
38
+ const customBuildPath = context.argv.customBuildPath || '';
39
+ if(customBuildPath) {
40
+ buildPaths.unshift(path.join(context.cwd, customBuildPath));
41
+ }
42
const buildBin = buildPaths.find(p =>
43
fs.existsSync(typeof p === 'function' ? p() : p)
44
);
0 commit comments