fix: replace backslashes with forward slashes from resolved pa… (#11366)
* fix: replace backslashes with forward slashes from resolved path for windows environments * add test for resolveAbsoluteRuntime under windows
This commit is contained in:
9
packages/babel-plugin-transform-runtime/test/fixtures/windows/absoluteRuntime/input.js
vendored
Normal file
9
packages/babel-plugin-transform-runtime/test/fixtures/windows/absoluteRuntime/input.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
async function test () {
|
||||
console.log('test')
|
||||
}
|
||||
|
||||
async function main () {
|
||||
console.log(await test())
|
||||
}
|
||||
|
||||
main()
|
||||
Reference in New Issue
Block a user