summaryrefslogtreecommitdiff
path: root/js/plugins.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-07-22 03:14:52 +0200
committerBert Belder <bertbelder@gmail.com>2018-07-22 03:16:17 +0200
commit845f7215dbde5c4fa448d201c9f7ebbe986eedba (patch)
tree80ec819df0a5241fd5db1b28642d73a028c55fb0 /js/plugins.d.ts
parentdff5c16e85b9ee7e610d17792f8c301af1a9c458 (diff)
Replace packer with rollup
Diffstat (limited to 'js/plugins.d.ts')
-rw-r--r--js/plugins.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/plugins.d.ts b/js/plugins.d.ts
new file mode 100644
index 000000000..d1dae3885
--- /dev/null
+++ b/js/plugins.d.ts
@@ -0,0 +1,7 @@
+// This allows TypeScript to resolve any modules that end with `!string`
+// as there is a rollup plugin that will take any mids ending with `!string`
+// and return them as a string to rollup for inlining
+declare module "*!string" {
+ const value: string;
+ export default value;
+}