Skip to content

Commit becfaaa

Browse files
committed
Disable polyfill of process in node
1 parent 696de94 commit becfaaa

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "algorithm-visualizer",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"description": "JavaScript Tracers for Algorithm Visualizer",
55
"main": "dist/tracers.js",
66
"scripts": {

webpack.config.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,18 @@ const buildPath = path.resolve(__dirname, 'dist');
77
const srcPath = path.resolve(__dirname, 'src');
88

99
module.exports = [{
10-
target: 'node',
1110
entry: srcPath,
1211
externals: [nodeExternals()],
13-
resolve: {
14-
modules: [path.resolve(__dirname, 'node_modules')],
15-
extensions: ['.js'],
16-
},
1712
output: {
1813
path: buildPath,
1914
filename: 'algorithm-visualizer.js',
2015
library: 'AlgorithmVisualizer',
2116
libraryTarget: 'umd',
2217
globalObject: `(typeof self !== 'undefined' ? self : this)`,
2318
},
19+
node: {
20+
process: false
21+
},
2422
module: {
2523
rules: [
2624
{ test: /\.js$/, use: 'babel-loader', include: srcPath },

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy