feat: initial angular support + clean up tests

This commit is contained in:
Igor Randjelovic
2020-11-25 17:44:00 +01:00
parent 015d337e2a
commit d9a93040fe
17 changed files with 651 additions and 48 deletions

View File

@ -59,8 +59,10 @@ export function useConfig(config: keyof typeof defaultConfigs | false) {
}
export function chainWebpack(
chainFn: (config: Config, env: IWebpackEnv) => any
chainFn: (config: Config, env: IWebpackEnv) => any,
options?: { last?: boolean }
) {
// todo: handle options.last by storing them in a separate array?
webpackChains.push(chainFn);
}