Skip to content

Commit

Permalink
remamed module libs with .mjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Dec 19, 2024
1 parent 51cb9b7 commit 00df78d
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 25 deletions.
File renamed without changes.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion aframe/examples/location-based/always-face-user/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Use the third-party A-Frame 'look-at' component to make the text look at the
camera.
-->
<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>
<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>
</a-scene>

</body>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion three.js/examples/arjs-session.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script type="importmap">
{
"imports": {
"arjs": "./../build/ar.module.js",
"arjs": "./../build/ar.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/default-thinner-border.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
4 changes: 2 additions & 2 deletions three.js/examples/location-based/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<script type="importmap">
{
"imports": {
"ar-threex-location-only": "./../../build/ar-threex-location-only.module.js",
"threex": "./../../build/ar-threex.module.js",
"ar-threex-location-only": "./../../build/ar-threex-location-only.mjs",
"threex": "./../../build/ar-threex.mjs",
"three": "./../vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/measure-it.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/minimal_ES6.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/mobile-performance.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/nft.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
}
Expand Down
2 changes: 1 addition & 1 deletion three.js/examples/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="importmap">
{
"imports": {
"threex": "../build/ar-threex.module.js",
"threex": "../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
4 changes: 2 additions & 2 deletions three.js/examples/test-runner.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<script type="importmap">
{
"imports": {
"arjs": "./../build/ar.module.js",
"threex": "./../build/ar-threex.module.js",
"arjs": "./../build/ar.mjs",
"threex": "./../build/ar-threex.mjs",
"three": "./vendor/three.js/build/three.module.min.js"
}
}
Expand Down
14 changes: 7 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = (env, argv) => {
type: 'module',
},
path: path.resolve(__dirname, 'aframe/build'),
filename: 'aframe-ar.module.js',
filename: 'aframe-ar.mjs',
},
resolve: {
alias: {
Expand Down Expand Up @@ -112,7 +112,7 @@ module.exports = (env, argv) => {
type: 'module',
},
path: path.resolve(__dirname, 'aframe/build'),
filename: 'aframe-ar-nft.module.js',
filename: 'aframe-ar-nft.mjs',
},
resolve: {
alias: {
Expand Down Expand Up @@ -152,7 +152,7 @@ module.exports = (env, argv) => {
type: 'module',
},
path: path.resolve(__dirname, 'aframe/build'),
filename: 'aframe-ar-location-only.module.js',
filename: 'aframe-ar-location-only.mjs',
},
module,
externalsType: 'module',
Expand Down Expand Up @@ -186,7 +186,7 @@ module.exports = (env, argv) => {
type: 'module',
},
path: path.resolve(__dirname, 'aframe/build'),
filename: 'aframe-ar-new-location-only.module.js',
filename: 'aframe-ar-new-location-only.mjs',
},
module,
externalsType: 'module',
Expand Down Expand Up @@ -233,7 +233,7 @@ module.exports = (env, argv) => {
type: 'module',
},
path: path.resolve(__dirname, 'three.js/build'),
filename: 'ar-threex.module.js',
filename: 'ar-threex.mjs',
},
resolve: {
alias: {
Expand Down Expand Up @@ -280,7 +280,7 @@ module.exports = (env, argv) => {
type: 'module',
},
path: path.resolve(__dirname, 'three.js/build'),
filename: 'ar-threex-location-only.module.js',
filename: 'ar-threex-location-only.mjs',
},
module,
externalsType: 'module',
Expand Down Expand Up @@ -328,7 +328,7 @@ module.exports = (env, argv) => {
type: 'module',
},
path: path.resolve(__dirname, 'three.js/build'),
filename: 'ar.module.js',
filename: 'ar.mjs',
},
resolve: {
alias: {
Expand Down

0 comments on commit 00df78d

Please sign in to comment.