Gulp - jspm_packages is referenced to a directory above root
JT-Bruch opened this issue · 5 comments
Steps to reproduce:
- install on fresh machine.
- run npm run serve
- everything works as expected.
- run gulp
This line in vendor.scss needs to be changed to.
@import '../../jspm_packages/github/necolas/normalize.css@3.0.3/normalize.css'; // the path refers to the file at BUILD time
This.
@import '../jspm_packages/github/necolas/normalize.css@3.0.3/normalize.css'; // the path refers to the file at BUILD time
And then everyone is happy. 👍
Hey @JT-Bruch thanks for the bug report, I'll update the project generator (i.e., https://github.com/dsebastien/modernWebDevGenerator) as that's where the issue is.
I've published 0.3.4 of the generator with the fix: https://www.npmjs.com/package/generator-modern-web-dev
I've found the bug and it was actually in the build: #96
I'm going to create a new minor release of the build and later update the generator.
closed by 0eefaa8
See the release notes: https://github.com/dsebastien/modernWebDevBuild/releases/tag/0.4.0
In your project, you'll have to change the path to stylesheets located in jspm_packages. Also, you'll have to upgrade the dependency of modern-web-dev-build to 0.4.x