diff --git a/prepublish/common/exports.js b/prepublish/common/exports.js index 5d225e30..05ee3311 100644 --- a/prepublish/common/exports.js +++ b/prepublish/common/exports.js @@ -44,6 +44,10 @@ module.exports = env => { alias: { '~': resolve("./app") }, + + // This will not follow symlinks to their original location, + // and will enable us to work with symlinked packages during development. + symlinks: false }, node: { // Disable node shims that conflict with NativeScript diff --git a/templates/webpack.angular.js b/templates/webpack.angular.js index aff18ce1..1a9f23b6 100644 --- a/templates/webpack.angular.js +++ b/templates/webpack.angular.js @@ -57,6 +57,10 @@ module.exports = env => { alias: { '~': resolve("./app") }, + + // This will not follow symlinks to their original location, + // and will enable us to work with symlinked packages during development. + symlinks: false }, node: { // Disable node shims that conflict with NativeScript diff --git a/templates/webpack.javascript.js b/templates/webpack.javascript.js index 34588e95..0e0c6c96 100644 --- a/templates/webpack.javascript.js +++ b/templates/webpack.javascript.js @@ -54,6 +54,10 @@ module.exports = env => { alias: { '~': resolve("./app") }, + + // This will not follow symlinks to their original location, + // and will enable us to work with symlinked packages during development. + symlinks: false }, node: { // Disable node shims that conflict with NativeScript diff --git a/templates/webpack.typescript.js b/templates/webpack.typescript.js index a2cb2270..a20f9386 100644 --- a/templates/webpack.typescript.js +++ b/templates/webpack.typescript.js @@ -54,6 +54,10 @@ module.exports = env => { alias: { '~': resolve("./app") }, + + // This will not follow symlinks to their original location, + // and will enable us to work with symlinked packages during development. + symlinks: false }, node: { // Disable node shims that conflict with NativeScript