-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
48 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* This file is part of the xPack project (http://xpack.github.io). | ||
* Copyright (c) 2017 Liviu Ionescu. All rights reserved. | ||
* | ||
* Permission to use, copy, modify, and/or distribute this software | ||
* for any purpose is hereby granted, under the terms of the MIT license. | ||
* | ||
* If a copy of the license was not distributed with this file, it can | ||
* be obtained from https://opensource.org/licenses/MIT/. | ||
*/ | ||
|
||
'use strict' | ||
|
||
/** | ||
* This is the module entry point, the file that is processed when | ||
* `import('<module>')` is used. | ||
* | ||
* For this to work, it must be linked from `package.json` as | ||
* `"exports": { "import": "./index.mjs" }`. | ||
* | ||
* To import classes from this module into Node.js applications, use: | ||
* | ||
* ```javascript | ||
* import { Main } from '<module>' | ||
* ``` | ||
*/ | ||
|
||
// ES6: `import { Main } from './lib/main.js' | ||
import mainCsj from './lib/main.js' | ||
|
||
export const { Main } = mainCsj | ||
|
||
// ---------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "module" | ||
} |