alpha
Login
or
Join now
danielroe.dev
/
node14-subpath
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/danielroe/node14-subpath.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
first commit
author
Daniel Roe
date
4 years ago
(Sep 4, 2021, 2:11 PM +0100)
commit
61d295e4
61d295e4f801a947a290feade42f6e8c879fd159
+19
3 changed files
Expand all
Collapse all
Unified
Split
index.mjs
package.json
test.mjs
+3
index.mjs
View file
Reviewed
···
1
1
+
import test from '#test-import'
2
2
+
3
3
+
console.log(test())
+13
package.json
View file
Reviewed
···
1
1
+
{
2
2
+
"name": "node14-subpath",
3
3
+
"version": "1.0.0",
4
4
+
"main": "index.mjs",
5
5
+
"type": "module",
6
6
+
"license": "MIT",
7
7
+
"imports": {
8
8
+
"#test-import": "./test.mjs"
9
9
+
},
10
10
+
"volta": {
11
11
+
"node": "14.17.5"
12
12
+
}
13
13
+
}
+3
test.mjs
View file
Reviewed
···
1
1
+
export default function test() {
2
2
+
return 42
3
3
+
}