Skip to content

Commit

Permalink
prepare lib/core for ts migration
Browse files Browse the repository at this point in the history
  • Loading branch information
kroeder committed Feb 16, 2020
1 parent ab9c9cb commit 8132b25
Show file tree
Hide file tree
Showing 56 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"license": "MIT",
"main": "dist/client/index.js",
"types": "dist/client/index.d.ts",
"files": [
"dist/**/*",
"dll/**/*",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added lib/core/src/public_api.ts
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export function getMiddleware(configDir) {
const middlewarePath = path.resolve(configDir, 'middleware.js');
if (fs.existsSync(middlewarePath)) {
let middlewareModule = require(middlewarePath); // eslint-disable-line
if (middlewareModule.__esModule) { // eslint-disable-line
if (middlewareModule.__esModule) {
// eslint-disable-line
middlewareModule = middlewareModule.default;
}
return middlewareModule;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8132b25

Please sign in to comment.