Skip to content

Commit

Permalink
[patch] set webpack preserve symlinks for loader resolver (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip authored Feb 15, 2018
1 parent 1a21891 commit d2ad8a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const archetype = require("electrode-archetype-react-app/config/archetype");

module.exports = {
resolveLoader: {
symlinks: !archetype.webpack.preserveSymlinks,
modules: [Path.resolve("lib"), process.cwd()]
.concat(archetype.webpack.loaderDirectories)
.filter(_.identity),
Expand Down
1 change: 1 addition & 0 deletions xclap.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ xclap.load({
desc: "Run CI test",
task: () => {
process.env.BUILD_TEST = "true";
process.env.NODE_PRESERVE_SYMLINKS = "1";
const tasks = ["test-boilerplate"];
let updated;
return exec("lerna updated")
Expand Down

0 comments on commit d2ad8a5

Please sign in to comment.