summaryrefslogtreecommitdiff
path: root/rollup.config.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-08-26 22:29:51 -0400
committerGitHub <noreply@github.com>2019-08-26 22:29:51 -0400
commit725eb9810590e8237df68ec5580daaf0fa77e7d3 (patch)
treed7639e0f306c5b29848cfc7a5091a8bdbaa263f3 /rollup.config.js
parentf94900406d52a9d0a432ae9ebef65d46092afb41 (diff)
Clean up various flatbuffer references (#2819)
Diffstat (limited to 'rollup.config.js')
-rw-r--r--rollup.config.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/rollup.config.js b/rollup.config.js
index 95f06f2b6..793b5bd6c 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -88,20 +88,6 @@ const osNodeToDeno = {
linux: "linux"
};
-// This plugin resolves at bundle time any generated resources that are
-// in the build path under `gen` and specified with a MID starting with `gen/`.
-// The plugin assumes that the MID needs to have the `.ts` extension appended.
-function resolveGenerated() {
- return {
- name: "resolve-msg-generated",
- resolveId(importee) {
- if (importee.startsWith("gen/cli/msg_generated")) {
- return path.resolve(`${importee}.ts`);
- }
- }
- };
-}
-
function generateDepFile({ outputFile, sourceFiles = [], configFiles = [] }) {
let timestamp = new Date();
@@ -214,9 +200,6 @@ export default function makeConfig(commandOptions) {
]
}),
- // Resolves any resources that have been generated at build time
- resolveGenerated(),
-
// Allows rollup to resolve modules based on Node.js resolution
nodeResolve(),