Small tweak
This commit is contained in:
parent
f6147e0e7c
commit
50767a6c1f
|
@ -1,6 +1,5 @@
|
||||||
require('dotenv').config();
|
require('dotenv').config();
|
||||||
|
|
||||||
const path = require('path');
|
|
||||||
const builtinModules = require('module').builtinModules;
|
const builtinModules = require('module').builtinModules;
|
||||||
const babel = require('rollup-plugin-babel');
|
const babel = require('rollup-plugin-babel');
|
||||||
const commonjs = require('rollup-plugin-commonjs');
|
const commonjs = require('rollup-plugin-commonjs');
|
||||||
|
@ -68,7 +67,7 @@ const dependencies = (env === 'development'
|
||||||
|
|
||||||
const server = {
|
const server = {
|
||||||
external: builtinModules.concat(dependencies),
|
external: builtinModules.concat(dependencies),
|
||||||
input: path.resolve(__dirname, 'modules/server.js'),
|
input: 'modules/server.js',
|
||||||
output: { file: 'server.js', format: 'cjs' },
|
output: { file: 'server.js', format: 'cjs' },
|
||||||
plugins: [
|
plugins: [
|
||||||
manifest.inject({ virtualId: 'entry-manifest' }),
|
manifest.inject({ virtualId: 'entry-manifest' }),
|
||||||
|
|
Loading…
Reference in New Issue