diff options
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 17 |
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(), |