Skip to content

Commit d3356be

Browse files
authored
Merge pull request #3315 from martinRenou/remove_process_cwd
Remove process.cwd polyfill
2 parents 584fb26 + 49bc28e commit d3356be

File tree

6 files changed

+0
-12
lines changed

6 files changed

+0
-12
lines changed

examples/web1/webpack.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ module.exports = {
2020
new webpack.DefinePlugin({
2121
// Needed for Blueprint. See https://github.com/palantir/blueprint/issues/4393
2222
'process.env': '{}',
23-
// Needed for various packages using cwd(), like the path polyfill
24-
'process.cwd': '() => "/"',
2523
}),
2624
],
2725
};

examples/web2/webpack.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ module.exports = {
6363
new webpack.DefinePlugin({
6464
// Needed for Blueprint. See https://github.com/palantir/blueprint/issues/4393
6565
'process.env': '{}',
66-
// Needed for various packages using cwd(), like the path polyfill
67-
'process.cwd': '() => "/"',
6866
}),
6967
],
7068
};

examples/web3/webpack.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ module.exports = {
9494
new webpack.DefinePlugin({
9595
// Needed for Blueprint. See https://github.com/palantir/blueprint/issues/4393
9696
'process.env': '{}',
97-
// Needed for various packages using cwd(), like the path polyfill
98-
'process.cwd': '() => "/"',
9997
}),
10098
],
10199
};

examples/web4/webpack.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ module.exports = {
6262
new webpack.DefinePlugin({
6363
// Needed for Blueprint. See https://github.com/palantir/blueprint/issues/4393
6464
'process.env': '{}',
65-
// Needed for various packages using cwd(), like the path polyfill
66-
'process.cwd': '() => "/"',
6765
}),
6866
],
6967
};

packages/html-manager/test/webpack.conf.js

-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ module.exports = {
9595
new webpack.DefinePlugin({
9696
// Needed for Blueprint. See https://github.com/palantir/blueprint/issues/4393
9797
'process.env': '{}',
98-
// Needed for various packages using cwd(), like the path polyfill
99-
'process.cwd': '() => "/"',
10098
}),
10199
],
102100
};

packages/html-manager/webpack.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ var plugins = [
6565
new webpack.DefinePlugin({
6666
// Needed for Blueprint. See https://github.com/palantir/blueprint/issues/4393
6767
'process.env': '{}',
68-
// Needed for various packages using cwd(), like the path polyfill
69-
'process.cwd': '() => "/"',
7068
}),
7169
];
7270

0 commit comments

Comments
 (0)