summaryrefslogtreecommitdiff
path: root/webpack/module/rules/index.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-05-17 00:00:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-05-17 00:00:56 +0900
commitfb70e3b1769e9d008b75585e7c3fdfa061491f4d (patch)
tree0c80a14191c174d850a8021c79ff02b357d63fba /webpack/module/rules/index.ts
parentMerge pull request #462 from syuilo/greenkeeper/mocha-3.4.1 (diff)
downloadmisskey-fb70e3b1769e9d008b75585e7c3fdfa061491f4d.tar.gz
misskey-fb70e3b1769e9d008b75585e7c3fdfa061491f4d.tar.bz2
misskey-fb70e3b1769e9d008b75585e7c3fdfa061491f4d.zip
Refactoring
Diffstat (limited to 'webpack/module/rules/index.ts')
-rw-r--r--webpack/module/rules/index.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/webpack/module/rules/index.ts b/webpack/module/rules/index.ts
new file mode 100644
index 0000000000..2308f4e535
--- /dev/null
+++ b/webpack/module/rules/index.ts
@@ -0,0 +1,11 @@
+import i18n from './i18n';
+import themeColor from './theme-color';
+import tag from './tag';
+import stylus from './stylus';
+
+export default (lang, locale) => [
+ i18n(lang, locale),
+ themeColor(),
+ tag(),
+ stylus()
+];