diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-08-05 18:00:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-05 18:00:45 -0400 |
commit | a517513182221aa351528cf15d28c449b49fea13 (patch) | |
tree | ca0bfbf99ec4b121a5e8175d484e70fb55df43bf /rollup.config.js | |
parent | ddee2dff14772ade16e282ad18eda6f5054ce94e (diff) |
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
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 4 |
1 files changed, 1 insertions, 3 deletions
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 |