avoid using @azure/msal-node (#358)

* avoid using @azure/msal-node

* Update webpack.common.js

* Update webpack.common.js

* Update webpack.common.js
This commit is contained in:
Romain Beaumont 2023-12-31 17:48:10 +01:00 committed by GitHub
parent d4c0c0c6e6
commit d441efaef5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,8 @@ const config = {
express: false,
net: 'net-browserify',
fs: false,
jose: false
jose: false,
'@azure/msal-node': false
},
fallback: {
jose: false,
@ -74,7 +75,6 @@ const config = {
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/blocksStates/'), to: './blocksStates/' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/textures/'), to: './textures/' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/worker.js'), to: './' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/supportedVersions.json'), to: './' },
{ from: path.join(__dirname, 'assets/'), to: './' },
{ from: path.join(__dirname, 'extra-textures/'), to: './extra-textures/' },
{ from: path.join(__dirname, 'config.json'), to: './config.json' }