✌️
This commit is contained in:
@ -2,10 +2,12 @@ import i18n from './i18n';
|
||||
import themeColor from './theme-color';
|
||||
import tag from './tag';
|
||||
import stylus from './stylus';
|
||||
import typescript from './typescript';
|
||||
|
||||
export default (lang, locale) => [
|
||||
i18n(lang, locale),
|
||||
themeColor(),
|
||||
tag(),
|
||||
stylus()
|
||||
stylus(),
|
||||
typescript()
|
||||
];
|
||||
|
8
webpack/module/rules/typescript.ts
Normal file
8
webpack/module/rules/typescript.ts
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* TypeScript
|
||||
*/
|
||||
|
||||
export default () => ({
|
||||
test: /\.ts$/,
|
||||
use: 'awesome-typescript-loader'
|
||||
});
|
Reference in New Issue
Block a user