[x] I’ve searched for any related issues and avoided creating a duplicate issue.
What happened
Running npm run build on a Windows machine causes the component build process to fail. Earlier fix #1001 causes this problem as the substring function trims the first character of the directory path.
What I expected to happen
A component is ready for publishing to npm within the directory /lib and no errors displayed.
Bug Report
What happened
Running
npm run build
on a Windows machine causes the component build process to fail. Earlier fix #1001 causes this problem as the substring function trims the first character of the directory path.What I expected to happen
A component is ready for publishing to npm within the directory
/lib
and no errors displayed.Reproducing
Windows 10
helper.js
14.15.4
6.14.10
package.json
:n/a
Steps to reproduce:
npm i
cd packages/<component directory>
npm run build