angular-cli/addon/ng2/models/webpack-build-utils.ts
2016-08-25 10:06:54 -07:00

24 lines
450 B
TypeScript

import * as path from 'path';
export const ngAppResolve = (resolvePath: string): string => {
return path.resolve(process.cwd(), resolvePath);
};
export const webpackOutputOptions = {
colors: true,
chunks: true,
modules: false,
reasons: false,
chunkModules: false
};
export const webpackDevServerOutputOptions = {
assets: true,
colors: true,
version: true,
hash: true,
timings: true,
chunks: false,
chunkModules: false
};