Add svelte as a view engine to swaf #33
@ -12,11 +12,7 @@ const buildDir = process.env.BUILD_DIR;
|
||||
const publicDir = process.env.PUBLIC_DIR;
|
||||
const input = process.env.INPUT.split(':');
|
||||
|
||||
export default commandLineArgs => {
|
||||
const type = commandLineArgs.input;
|
||||
delete commandLineArgs.input;
|
||||
|
||||
return {
|
||||
export default commandLineArgs => ({
|
||||
input: input,
|
||||
output: {
|
||||
sourcemap: true,
|
||||
@ -66,5 +62,4 @@ export default commandLineArgs => {
|
||||
watch: {
|
||||
clearScreen: false,
|
||||
},
|
||||
};
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user