Skip to content

Commit

Permalink
another try with the smart rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Nov 3, 2017
1 parent 15ab561 commit 14deed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function openConsole() {
function buildMemServerDist() {
const outputFile = process.argv[3] || 'memserver.dist.js';
const rollup = child_process.spawnSync('rollup', [
'--config', `${require('path').dirname(process.argv[1])}/rollup.config.js`, '-o', outputFile
'--config', `${require.resolve('memserver')}/rollup.config.js`, '-o', outputFile
]);

console.log(rollup.stderr.toString());
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "memserver",
"version": "0.8.2",
"version": "0.8.3",
"description": "in-memory database/ORM and http mock server you can run in-browser and node environments. Built for large frontend teams, fast tests and rapid prototyping",
"main": "lib/index.js",
"license": "ISC",
Expand Down

0 comments on commit 14deed1

Please sign in to comment.