From a517513182221aa351528cf15d28c449b49fea13 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 5 Aug 2019 18:00:45 -0400 Subject: Remove Deno.build.args feature (#2728) This is a minor feature which complicates the build signifigantly. Removing to ease refactoring the build system: https://github.com/denoland/deno/issues/2608 --- rollup.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rollup.config.js') diff --git a/rollup.config.js b/rollup.config.js index 41f738bae..95f06f2b6 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -18,7 +18,6 @@ const typescriptPath = path.resolve( __dirname, "third_party/node_modules/typescript/lib/typescript.js" ); -const gnArgs = fs.readFileSync("gen/cli/gn_args.txt", "utf-8").trim(); // We will allow generated modules to be resolvable by TypeScript based on // the current build path @@ -190,8 +189,7 @@ export default function makeConfig(commandOptions) { replace({ ROLLUP_REPLACE_TS_VERSION: typescript.version, ROLLUP_REPLACE_ARCH: archNodeToDeno[process.arch], - ROLLUP_REPLACE_OS: osNodeToDeno[process.platform], - ROLLUP_REPLACE_GN_ARGS: gnArgs + ROLLUP_REPLACE_OS: osNodeToDeno[process.platform] }), // would prefer to use `rollup-plugin-virtual` to inject the empty module, but there -- cgit v1.2.3