Remove useless commandLineArgs.input manipulation
This commit is contained in:
parent
7b2cdb8269
commit
4f1f88c8f8
@ -12,11 +12,7 @@ const buildDir = process.env.BUILD_DIR;
|
|||||||
const publicDir = process.env.PUBLIC_DIR;
|
const publicDir = process.env.PUBLIC_DIR;
|
||||||
const input = process.env.INPUT.split(':');
|
const input = process.env.INPUT.split(':');
|
||||||
|
|
||||||
export default commandLineArgs => {
|
export default commandLineArgs => ({
|
||||||
const type = commandLineArgs.input;
|
|
||||||
delete commandLineArgs.input;
|
|
||||||
|
|
||||||
return {
|
|
||||||
input: input,
|
input: input,
|
||||||
output: {
|
output: {
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
@ -66,5 +62,4 @@ export default commandLineArgs => {
|
|||||||
watch: {
|
watch: {
|
||||||
clearScreen: false,
|
clearScreen: false,
|
||||||
},
|
},
|
||||||
};
|
});
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user