Skip to content

Commit 2808a3b

Browse files
committed
remamed module libs with .mjs extension
1 parent ea73a47 commit 2808a3b

21 files changed

+25
-25
lines changed

aframe/build/aframe-ar-new-location-only.module.js renamed to aframe/build/aframe-ar-new-location-only.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

aframe/build/aframe-ar-nft.module.js renamed to aframe/build/aframe-ar-nft.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

aframe/build/aframe-ar.module.js renamed to aframe/build/aframe-ar.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

aframe/examples/location-based/always-face-user/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Use the third-party A-Frame 'look-at' component to make the text look at the
2323
camera.
2424
-->
25-
<a-text value='This will always face the user.' look-at='[gps-new-camera]' gps-new-entity-place="latitude: 51.05; longitude: -0.723" scale="50 50 50"></a-entity>
25+
<a-text value='This will always face the user.' look-at='[gps-new-camera]' gps-new-entity-place="latitude: 51.05; longitude: -0.723" scale="50 50 50"></a-text>
2626
</a-scene>
2727

2828
</body>
File renamed without changes.
File renamed without changes.

three.js/examples/arjs-session.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<script type="importmap">
66
{
77
"imports": {
8-
"arjs": "./../build/ar.module.js",
8+
"arjs": "./../build/ar.mjs",
99
"three": "./vendor/three.js/build/three.module.min.js"
1010
}
1111
}

three.js/examples/basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<script type="importmap">
55
{
66
"imports": {
7-
"threex": "../build/ar-threex.module.js",
7+
"threex": "../build/ar-threex.mjs",
88
"three": "./vendor/three.js/build/three.module.min.js"
99
}
1010
}

three.js/examples/default-thinner-border.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script type="importmap">
99
{
1010
"imports": {
11-
"threex": "../build/ar-threex.module.js",
11+
"threex": "../build/ar-threex.mjs",
1212
"three": "./vendor/three.js/build/three.module.min.js"
1313
}
1414
}

three.js/examples/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<script type="importmap">
1010
{
1111
"imports": {
12-
"threex": "../build/ar-threex.module.js",
12+
"threex": "../build/ar-threex.mjs",
1313
"three": "./vendor/three.js/build/three.module.min.js"
1414
}
1515
}

three.js/examples/dev.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script type="importmap">
99
{
1010
"imports": {
11-
"threex": "../build/ar-threex.module.js",
11+
"threex": "../build/ar-threex.mjs",
1212
"three": "./vendor/three.js/build/three.module.min.js"
1313
}
1414
}

three.js/examples/location-based/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<script type="importmap">
1515
{
1616
"imports": {
17-
"ar-threex-location-only": "./../../build/ar-threex-location-only.module.js",
18-
"threex": "./../../build/ar-threex.module.js",
17+
"ar-threex-location-only": "./../../build/ar-threex-location-only.mjs",
18+
"threex": "./../../build/ar-threex.mjs",
1919
"three": "./../vendor/three.js/build/three.module.min.js"
2020
}
2121
}

three.js/examples/measure-it.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<script type="importmap">
55
{
66
"imports": {
7-
"threex": "../build/ar-threex.module.js",
7+
"threex": "../build/ar-threex.mjs",
88
"three": "./vendor/three.js/build/three.module.min.js"
99
}
1010
}

three.js/examples/minimal_ES6.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<script type="importmap">
66
{
77
"imports": {
8-
"threex": "../build/ar-threex.module.js",
8+
"threex": "../build/ar-threex.mjs",
99
"three": "./vendor/three.js/build/three.module.min.js"
1010
}
1111
}

three.js/examples/mobile-performance.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script type="importmap">
88
{
99
"imports": {
10-
"threex": "../build/ar-threex.module.js",
10+
"threex": "../build/ar-threex.mjs",
1111
"three": "./vendor/three.js/build/three.module.min.js"
1212
}
1313
}

three.js/examples/nft.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<script type="importmap">
66
{
77
"imports": {
8-
"threex": "../build/ar-threex.module.js",
8+
"threex": "../build/ar-threex.mjs",
99
"three": "./vendor/three.js/build/three.module.min.js",
1010
"three/addons/": "https://cdn.jsdelivr.net/npm/three@v0.169.0/examples/jsm/"
1111
}

three.js/examples/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script type="importmap">
77
{
88
"imports": {
9-
"threex": "../build/ar-threex.module.js",
9+
"threex": "../build/ar-threex.mjs",
1010
"three": "./vendor/three.js/build/three.module.min.js"
1111
}
1212
}

three.js/examples/test-runner.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<script type="importmap">
77
{
88
"imports": {
9-
"arjs": "./../build/ar.module.js",
10-
"threex": "./../build/ar-threex.module.js",
9+
"arjs": "./../build/ar.mjs",
10+
"threex": "./../build/ar-threex.mjs",
1111
"three": "./vendor/three.js/build/three.module.min.js"
1212
}
1313
}

webpack.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = (env, argv) => {
6666
type: 'module',
6767
},
6868
path: path.resolve(__dirname, 'aframe/build'),
69-
filename: 'aframe-ar.module.js',
69+
filename: 'aframe-ar.mjs',
7070
},
7171
resolve: {
7272
alias: {
@@ -112,7 +112,7 @@ module.exports = (env, argv) => {
112112
type: 'module',
113113
},
114114
path: path.resolve(__dirname, 'aframe/build'),
115-
filename: 'aframe-ar-nft.module.js',
115+
filename: 'aframe-ar-nft.mjs',
116116
},
117117
resolve: {
118118
alias: {
@@ -152,7 +152,7 @@ module.exports = (env, argv) => {
152152
type: 'module',
153153
},
154154
path: path.resolve(__dirname, 'aframe/build'),
155-
filename: 'aframe-ar-location-only.module.js',
155+
filename: 'aframe-ar-location-only.mjs',
156156
},
157157
module,
158158
externalsType: 'module',
@@ -186,7 +186,7 @@ module.exports = (env, argv) => {
186186
type: 'module',
187187
},
188188
path: path.resolve(__dirname, 'aframe/build'),
189-
filename: 'aframe-ar-new-location-only.module.js',
189+
filename: 'aframe-ar-new-location-only.mjs',
190190
},
191191
module,
192192
externalsType: 'module',
@@ -233,7 +233,7 @@ module.exports = (env, argv) => {
233233
type: 'module',
234234
},
235235
path: path.resolve(__dirname, 'three.js/build'),
236-
filename: 'ar-threex.module.js',
236+
filename: 'ar-threex.mjs',
237237
},
238238
resolve: {
239239
alias: {
@@ -280,7 +280,7 @@ module.exports = (env, argv) => {
280280
type: 'module',
281281
},
282282
path: path.resolve(__dirname, 'three.js/build'),
283-
filename: 'ar-threex-location-only.module.js',
283+
filename: 'ar-threex-location-only.mjs',
284284
},
285285
module,
286286
externalsType: 'module',
@@ -328,7 +328,7 @@ module.exports = (env, argv) => {
328328
type: 'module',
329329
},
330330
path: path.resolve(__dirname, 'three.js/build'),
331-
filename: 'ar.module.js',
331+
filename: 'ar.mjs',
332332
},
333333
resolve: {
334334
alias: {

0 commit comments

Comments
 (0)