draft: refactor project so it sits on top of a standalone app
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6,
|
||||
"sourceType": "module",
|
||||
},
|
||||
"plugins": [
|
||||
"import"
|
||||
],
|
||||
"extends": [
|
||||
"plugin:import/errors"
|
||||
]
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export { default } from './index-default.js';
|
||||
export * from './index.js';
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import * as allExports from './index.js';
|
||||
import { mixin } from './index.js';
|
||||
|
||||
// Add all of the Underscore functions to the wrapper object.
|
||||
var _ = mixin(allExports);
|
||||
// Legacy Node.js API
|
||||
_._ = _;
|
||||
// Export the Underscore API.
|
||||
export default _;
|
||||
+1678
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user