diff --git a/js/generate.js b/js/generate.js index 2d698c6..a403c31 100644 --- a/js/generate.js +++ b/js/generate.js @@ -7,10 +7,10 @@ */ -const createHTMLString = require( './createHTMLString.js' ); +const createHTMLString = require( './createHTMLString' ); const fs = require( 'fs' ); const fsExtra = require( 'fs-extra' ); -const getFromSimInMain = require( './getFromSimInMain.js' ); +const getFromSimInMain = require( './getFromSimInMain' ); // resolve image and doc paths as constants diff --git a/js/getFromSimInMain.js b/js/getFromSimInMain.js index 3300a4b..af77dc6 100644 --- a/js/getFromSimInMain.js +++ b/js/getFromSimInMain.js @@ -25,7 +25,7 @@ const _ = require( 'lodash' ); const assert = require( 'assert' ); const fs = require( 'fs' ); const puppeteer = require( 'puppeteer' ); -const withServer = require( '../../perennial/js/common/withServer.js' ); +const withServer = require( '../../perennial/js/common/withServer' ); // Helper function to get the sim list from perennial const getSims = function() {