summaryrefslogtreecommitdiff
path: root/webpack/plugins/hoist.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-26 09:04:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-26 09:04:42 +0900
commit9efdfa314fbe423d5348246faa70b76e088eb36b (patch)
treea48bbc1c73bb1972a6628d89de234a60b99a7354 /webpack/plugins/hoist.ts
parentMerge pull request #577 from syuilo/greenkeeper/@types/webpack-3.0.0 (diff)
downloadmisskey-9efdfa314fbe423d5348246faa70b76e088eb36b.tar.gz
misskey-9efdfa314fbe423d5348246faa70b76e088eb36b.tar.bz2
misskey-9efdfa314fbe423d5348246faa70b76e088eb36b.zip
Enable scope hoisting
Diffstat (limited to 'webpack/plugins/hoist.ts')
-rw-r--r--webpack/plugins/hoist.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/webpack/plugins/hoist.ts b/webpack/plugins/hoist.ts
new file mode 100644
index 0000000000..f61133f8df
--- /dev/null
+++ b/webpack/plugins/hoist.ts
@@ -0,0 +1,3 @@
+import * as webpack from 'webpack';
+
+export default () => new webpack.optimize.ModuleConcatenationPlugin();