Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 7deb117

Browse files
PanayotCankovsis0k0
authored andcommitted
fix(configs): don't follow symlinks for loaders (#287)
1 parent ddecb56 commit 7deb117

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

Diff for: prepublish/common/exports.js

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ module.exports = env => {
4949
// and will enable us to work with symlinked packages during development.
5050
symlinks: false
5151
},
52+
resolveLoader: {
53+
// This will not follow symlinks to their original location,
54+
// and will enable us to work with symlinked loader packages during development.
55+
symlinks: false
56+
},
5257
node: {
5358
// Disable node shims that conflict with NativeScript
5459
"http": false,

Diff for: templates/webpack.angular.js

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ module.exports = env => {
6262
// and will enable us to work with symlinked packages during development.
6363
symlinks: false
6464
},
65+
resolveLoader: {
66+
// This will not follow symlinks to their original location,
67+
// and will enable us to work with symlinked loader packages during development.
68+
symlinks: false
69+
},
6570
node: {
6671
// Disable node shims that conflict with NativeScript
6772
"http": false,

Diff for: templates/webpack.javascript.js

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ module.exports = env => {
5959
// and will enable us to work with symlinked packages during development.
6060
symlinks: false
6161
},
62+
resolveLoader: {
63+
// This will not follow symlinks to their original location,
64+
// and will enable us to work with symlinked loader packages during development.
65+
symlinks: false
66+
},
6267
node: {
6368
// Disable node shims that conflict with NativeScript
6469
"http": false,

Diff for: templates/webpack.typescript.js

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ module.exports = env => {
5959
// and will enable us to work with symlinked packages during development.
6060
symlinks: false
6161
},
62+
resolveLoader: {
63+
// This will not follow symlinks to their original location,
64+
// and will enable us to work with symlinked loader packages during development.
65+
symlinks: false
66+
},
6267
node: {
6368
// Disable node shims that conflict with NativeScript
6469
"http": false,

0 commit comments

Comments
 (0)