UNPKG

turbo-gulp

Version:

Gulp tasks to boost high-quality projects.

26 lines (25 loc) 802 B
/** * Preconfigured "webpack" configuration for an Angular Universal client. */ export const ANGULAR_CLIENT_TARGET = { name: "client", targetDir: "server/static", webpackDir: "client.webpack", scripts: ["client/**/*.ts", "app/**/*.ts", "lib/**/*.ts", "!**/*.spec.ts"], typeRoots: ["custom-typings", "../typings/globals", "../typings/modules", "../node_modules/@types"], mainModule: "client/main", pug: [{ name: "app", src: "app", dest: "app" }], sass: [{ name: "app", src: "app", dest: "app" }], typescript: { tsconfigJson: ["client/tsconfig.json"], }, clean: { dirs: [ "build/client.webpack", ], files: [ "build/server/static/main.js", "dist/server/static/main.js", ], }, };