From 50767a6c1fe4f55c16d23e8aa3bc73eacf6b7393 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Tue, 24 Sep 2019 21:55:54 -0700 Subject: [PATCH] Small tweak --- rollup.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 3db164f..8a3eeb3 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,6 +1,5 @@ require('dotenv').config(); -const path = require('path'); const builtinModules = require('module').builtinModules; const babel = require('rollup-plugin-babel'); const commonjs = require('rollup-plugin-commonjs'); @@ -68,7 +67,7 @@ const dependencies = (env === 'development' const server = { external: builtinModules.concat(dependencies), - input: path.resolve(__dirname, 'modules/server.js'), + input: 'modules/server.js', output: { file: 'server.js', format: 'cjs' }, plugins: [ manifest.inject({ virtualId: 'entry-manifest' }),