Closed fastner closed 6 years ago
Output on command line: Can't resolve '../../edge-boilerplate/src' in '/Users/bs5/Code/t/node_modules/edge-storybook/lib'
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$/);
const loader = require.context("../../edge-boilerplate/src", true, /\.story\.js$/);
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!
Output on command line:
Can't resolve '../../edge-boilerplate/src' in '/Users/bs5/Code/t/node_modules/edge-storybook/lib'
How to test:
This is due of edge-storybook/src/config.js contains
const loader = require.context("../../edge-boilerplate/src", true, /\.story\.js$/);