Skip to content

Instantly share code, notes, and snippets.

@jfo
Created February 22, 2018 15:20
Show Gist options
  • Save jfo/3bb9530a510ab11e8daad87bd6b74ac4 to your computer and use it in GitHub Desktop.
Save jfo/3bb9530a510ab11e8daad87bd6b74ac4 to your computer and use it in GitHub Desktop.
diff --git a/apps/config/paths.js b/apps/config/paths.js
index db9fe9df7..d57b87533 100644
--- a/apps/config/paths.js
+++ b/apps/config/paths.js
@@ -1,4 +1,5 @@
const path = require('path');
+const fs = require('fs');
module.exports = {
app: path.resolve(__dirname, '..', 'src', 'index.js'),
@@ -7,13 +8,13 @@ module.exports = {
containers: path.join(__dirname, '..', 'src', 'containers'),
nodeModules: path.join(__dirname, '..', 'node_modules'),
output: path.join(__dirname, '..', 'dist'),
- peakonComponents: path.resolve(
+ peakonComponents: fs.realpathSync(path.resolve(
__dirname,
'..',
'node_modules',
'@peakon',
'components'
- ),
+ )),
public: '/',
source: path.join(__dirname, '..', 'src'),
styles: path.join(__dirname, '..', 'src', 'styles'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment