We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How often can you reproduce it?
Description:
https://stealjs.com/docs/StealJS.babel.html#specifying-version states:
If you have a code-base that needs a specific version of Babel you can include it using paths config.
I have tried doing so for both npm config and stealconfig.js approaches.
npm
stealconfig.js
Looks like this line is the culprit https://github.com/stealjs/steal/blob/master/steal.js#L6889 as replacing with the following results in the paths override working correctly:
paths
setIfNotPresent(this.paths,"babel", dirname+"/ext/babel.js");
Steps to reproduce:
npm install -S steal@2 babel-standalone
{ "steal": { "paths": { "babel": "node_modules/babel-standalone/babel.js" } } }
Expected results:
Babel is loaded from node_modules/babel-standalone/babel.js.
node_modules/babel-standalone/babel.js
Actual results:
Babel is loaded from node_modules/steal/ext/babel.js.
node_modules/steal/ext/babel.js
Environment:
"steal": "^2.2.4"
"steal-tools": "^2.2.6"
v12.16.3
6.14.4
5.4.40-1-MANJARO
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How often can you reproduce it?
Description:
https://stealjs.com/docs/StealJS.babel.html#specifying-version states:
I have tried doing so for both
npm
config andstealconfig.js
approaches.Looks like this line is the culprit https://github.com/stealjs/steal/blob/master/steal.js#L6889 as replacing with the following results in the
paths
override working correctly:Steps to reproduce:
npm install -S steal@2 babel-standalone
paths
as per https://stealjs.com/docs/StealJS.babel.html#specifying-versionExpected results:
Babel is loaded from
node_modules/babel-standalone/babel.js
.Actual results:
Babel is loaded from
node_modules/steal/ext/babel.js
.Environment:
"steal": "^2.2.4"
"steal-tools": "^2.2.6"
v12.16.3
6.14.4
5.4.40-1-MANJARO
The text was updated successfully, but these errors were encountered: