egirlskey/webpack/module/rules/index.ts

16 lines
312 B
TypeScript
Raw Normal View History

2017-05-16 15:00:56 +00:00
import i18n from './i18n';
import base64 from './base64';
2017-05-16 15:00:56 +00:00
import themeColor from './theme-color';
import tag from './tag';
import stylus from './stylus';
2017-10-06 21:58:50 +00:00
import typescript from './typescript';
2017-05-16 15:00:56 +00:00
export default (lang, locale) => [
i18n(lang, locale),
base64(),
2017-05-16 15:00:56 +00:00
themeColor(),
tag(),
2017-10-06 21:58:50 +00:00
stylus(),
typescript()
2017-05-16 15:00:56 +00:00
];