sebastian-software / edge

The Lerna Repository for Edge Platform
Apache License 2.0
33 stars 7 forks source link

Resolving edge-boilerplate from edge-storybook is failing #26

Closed fastner closed 6 years ago

fastner commented 6 years ago

Output on command line: Can't resolve '../../edge-boilerplate/src' in '/Users/bs5/Code/t/node_modules/edge-storybook/lib'

How to test:

    # mkdir test
    # cd test
    # npm init -y
    # npx edge-create
    # npm install
    # npm pack

This is due of edge-storybook/src/config.js contains const loader = require.context("../../edge-boilerplate/src", true, /\.story\.js$/);

swernerx commented 6 years ago

This was quite a long outstanding issue which came as a consequence of some changes in Webpack. Thanks for hitting it up again. I finally found a solution. Quite a hack/trick - but it works.

Fixed!