Skip to content

Commit

Permalink
Merge pull request #9 from namecheap/server-output-entry-file
Browse files Browse the repository at this point in the history
Server output entry file
  • Loading branch information
blackrabbit99 authored Jan 4, 2023
2 parents 23ce723 + ca23df3 commit 721006b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ilc-adapter-react",
"version": "2.1.2",
"version": "2.1.5",
"description": "A single spa plugin for React apps",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -9,7 +9,9 @@
"parcel.d.ts",
"parcel.js",
"LICENSE.txt",
"NOTICE.md"
"NOTICE.md",
"server.js",
"server.d.ts"
],
"scripts": {
"build": "tsc",
Expand Down
1 change: 1 addition & 0 deletions server.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/server';
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/server');
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import IlcSdk, { AppAssets } from 'ilc-sdk';
import ilcAdapterReact from './ilc-adapter-react';

export type {
Expand All @@ -12,6 +11,4 @@ export type {
AppSdkAdapter,
} from 'ilc-sdk/app';

export { IlcSdk, AppAssets };

export default ilcAdapterReact;
3 changes: 3 additions & 0 deletions src/server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import IlcSdk, { AppAssets } from 'ilc-sdk';

export { IlcSdk, AppAssets };

0 comments on commit 721006b

Please sign in to comment.